src/archiver_dir.c
changeset 1098 4e86cec1143f
parent 1054 57f4af811ffb
child 1108 b63e39d5be04
--- a/src/archiver_dir.c	Sat Aug 21 02:42:23 2010 -0400
+++ b/src/archiver_dir.c	Sat Aug 21 02:47:58 2010 -0400
@@ -14,21 +14,15 @@
 #define __PHYSICSFS_INTERNAL__
 #include "physfs_internal.h"
 
-static PHYSFS_sint64 DIR_read(fvoid *opaque, void *buffer,
-                              PHYSFS_uint32 objSize, PHYSFS_uint32 objCount)
+static PHYSFS_sint64 DIR_read(fvoid *opaque, void *buffer, PHYSFS_uint64 len)
 {
-    PHYSFS_sint64 retval;
-    retval = __PHYSFS_platformRead(opaque, buffer, objSize, objCount);
-    return retval;
+    return __PHYSFS_platformRead(opaque, buffer, len);
 } /* DIR_read */
 
 
-static PHYSFS_sint64 DIR_write(fvoid *opaque, const void *buffer,
-                               PHYSFS_uint32 objSize, PHYSFS_uint32 objCount)
+static PHYSFS_sint64 DIR_write(fvoid *f, const void *buf, PHYSFS_uint64 len)
 {
-    PHYSFS_sint64 retval;
-    retval = __PHYSFS_platformWrite(opaque, buffer, objSize, objCount);
-    return retval;
+    return __PHYSFS_platformWrite(f, buf, len);
 } /* DIR_write */