You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/20 11:01:35 UTC
svn commit: r806093 -
/commons/sandbox/runtime/trunk/src/main/native/shared/shm.c
Author: mturk
Date: Thu Aug 20 09:01:35 2009
New Revision: 806093
URL: http://svn.apache.org/viewvc?rev=806093&view=rev
Log:
cast jlong to size_t
Modified:
commons/sandbox/runtime/trunk/src/main/native/shared/shm.c
Modified: commons/sandbox/runtime/trunk/src/main/native/shared/shm.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/shm.c?rev=806093&r1=806092&r2=806093&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/shm.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/shm.c Thu Aug 20 09:01:35 2009
@@ -32,7 +32,7 @@
jobject shm = NULL;
UNREFERENCED_O;
- shm = ACR_SharedMemoryObjectCreate(_E, NULL, size);
+ shm = ACR_SharedMemoryObjectCreate(_E, NULL, (size_t)size);
return shm;
}