core/vm/sp_vm_basecontext.cpp
changeset 696 d5cc8d0fa899
parent 695 6c258b202756
child 762 e82fc0f89dc1
     1.1 --- a/core/vm/sp_vm_basecontext.cpp	Sat Apr 14 04:19:58 2007 +0000
     1.2 +++ b/core/vm/sp_vm_basecontext.cpp	Sat Apr 14 04:27:47 2007 +0000
     1.3 @@ -711,7 +711,7 @@
     1.4  	len = strlen(source);
     1.5  	dest = (char *)(ctx->memory + local_addr);
     1.6  
     1.7 -	if ((size_t)len >= bytes)
     1.8 +	if (len >= bytes)
     1.9  	{
    1.10  		len = bytes - 1;
    1.11  	}