commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r806093 - /commons/sandbox/runtime/trunk/src/main/native/shared/shm.c
Date Thu, 20 Aug 2009 09:01:35 GMT
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;
 }



Mime
View raw message