Author: clebert.suconic(a)jboss.com
Date: 2010-09-11 18:16:35 -0400 (Sat, 11 Sep 2010)
New Revision: 9673
Modified:
trunk/native/src/AsyncFile.cpp
Log:
tweak on native code
Modified: trunk/native/src/AsyncFile.cpp
===================================================================
--- trunk/native/src/AsyncFile.cpp 2010-09-11 22:10:16 UTC (rev 9672)
+++ trunk/native/src/AsyncFile.cpp 2010-09-11 22:16:35 UTC (rev 9673)
@@ -312,9 +312,9 @@
long AsyncFile::getSize()
{
- struct stat64 statBuffer;
+ struct stat statBuffer;
- if (fstat64(fileHandle, &statBuffer) < 0)
+ if (fstat(fileHandle, &statBuffer) < 0)
{
return -1l;
}