harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r692043 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/freebsd/OSResourcesMonitor.c
Date Thu, 04 Sep 2008 14:27:03 GMT
Author: hindessm
Date: Thu Sep  4 07:27:02 2008
New Revision: 692043

URL: http://svn.apache.org/viewvc?rev=692043&view=rev
Log:
Trivial freebsd fix.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/freebsd/OSResourcesMonitor.c

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/freebsd/OSResourcesMonitor.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/freebsd/OSResourcesMonitor.c?rev=692043&r1=692042&r2=692043&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/freebsd/OSResourcesMonitor.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/freebsd/OSResourcesMonitor.c
Thu Sep  4 07:27:02 2008
@@ -37,7 +37,7 @@
 {
   unsigned long free;
   unsigned long total;
-  int len = sizeof(free);
+  size_t len = sizeof(free);
   
   if (sysctlbyname("vm.stats.vm.v_free_count", &free, &len, NULL, 0) == -1) {
     return FALSE;	



Mime
View raw message