]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-macos104-no-64bit-resid-yet-20060825
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Fri, 25 Aug 2006 05:49:23 +0000 (05:49 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 25 Aug 2006 05:49:23 +0000 (05:49 +0000)
we're not ready for 64bit resid yet (in dir code)

(cherry picked from commit 3cdf27d6f070dd93c48995c344fba3b9ab0ac48e)

src/afs/afs_osi.h

index e65cb28ba9707adce03ab4ee53ff9f7cd40ff90e..771c12214e037d83d1fedb2e5b0e2bf9312d6999 100644 (file)
@@ -398,7 +398,7 @@ typedef struct timeval osi_timeval_t;
 
 #ifdef AFS_DARWIN80_ENV
 #define AFS_UIO_OFFSET(uio) uio_offset(uio)
-#define AFS_UIO_RESID(uio) uio_resid(uio)
+#define AFS_UIO_RESID(uio) (int)uio_resid(uio)
 #define AFS_UIO_SETOFFSET(uio, off) uio_setoffset(uio, off)
 #define AFS_UIO_SETRESID(uio, val) uio_setresid(uio, val)
 #else