harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r672313 - /harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/EpollSelectorImpl.c
Date Fri, 27 Jun 2008 16:24:56 GMT
Author: hindessm
Date: Fri Jun 27 09:24:56 2008
New Revision: 672313

URL: http://svn.apache.org/viewvc?rev=672313&view=rev
Log:
Minor compiler warning fix.

Modified:
    harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/EpollSelectorImpl.c

Modified: harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/EpollSelectorImpl.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/EpollSelectorImpl.c?rev=672313&r1=672312&r2=672313&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/EpollSelectorImpl.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/EpollSelectorImpl.c
Fri Jun 27 09:24:56 2008
@@ -192,7 +192,7 @@
     jint * fdsArray;
     jint * opsArray;
     int result;
-    int isCopy;
+    jboolean isCopy;
     int c;
     int temp;
     
@@ -225,10 +225,10 @@
 #endif
 
     // copying out the results, pinning might help here...
-    isCopy = NULL;
+    isCopy = JNI_FALSE;
     fdsArray = (*env)->GetIntArrayElements(env, fds, &isCopy);
 
-    isCopy = NULL;
+    isCopy = JNI_FALSE;
     opsArray = (*env)->GetIntArrayElements(env, ops, &isCopy);
 
     for(c = 0; c < result; c++) {



Mime
View raw message