You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2008/09/04 16:27:03 UTC
svn commit: r692043 -
/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/freebsd/OSResourcesMonitor.c
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;