harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r498823 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSFileSystemLinux32.c
Date Mon, 22 Jan 2007 22:01:12 GMT
Author: hindessm
Date: Mon Jan 22 14:01:11 2007
New Revision: 498823

URL: http://svn.apache.org/viewvc?view=rev&rev=498823
Log:
Man page says this is an int not a size_t.

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

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSFileSystemLinux32.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSFileSystemLinux32.c?view=diff&rev=498823&r1=498822&r2=498823
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSFileSystemLinux32.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSFileSystemLinux32.c
Mon Jan 22 14:01:11 2007
@@ -234,6 +234,6 @@
   if(hysocketP == NULL)
     return -1;
   socket = hysocketP->sock;
-  return sendfile(socket,(size_t)fd,(off_t *)&offset,(size_t)count);	
+  return sendfile(socket,(int)fd,(off_t *)&offset,(size_t)count);	
 }
 



Mime
View raw message