fetchOps: fix more() prototype
authorMarc Dionne <marc.c.dionne@gmail.com>
Sat, 26 Sep 2009 13:32:46 +0000 (09:32 -0400)
committerDerrick Brashear <shadow|account-1000005@unknown>
Sun, 27 Sep 2009 00:43:10 +0000 (17:43 -0700)
Adjust the prototype in the fetchOps structure to match the recent
change to rxfs_fetchMore().

Reviewed-on: http://gerrit.openafs.org/499
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/afs/afs.h

index 27d7645..813bbac 100644 (file)
@@ -1381,7 +1381,7 @@ struct storeOps {
 };
 
 struct fetchOps {
-    int (*more)(void *rock, afs_uint32 *length, afs_uint32 *moredata);
+    int (*more)(void *rock, afs_int32 *length, afs_uint32 *moredata);
     int (*read)(void *rock, afs_uint32 tlen, afs_uint32 *bytesread);
     int (*write)(void *rock, struct osi_file *fp, afs_uint32 offset,
         afs_uint32 tlen, afs_uint32 *byteswritten);