From: Jeffrey Altman Date: Fri, 4 Jan 2008 07:47:31 +0000 (+0000) Subject: DEVEL15-windows-smb-20080103 X-Git-Tag: openafs-devel-1_5_30~18 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c3a0d7a80bf5fcb8ad7427f0edff6a1d4788efac;p=packages%2Fo%2Fopenafs.git DEVEL15-windows-smb-20080103 LICENSE MIT ensure type consistency between 32-bit and 64-bit processes by replacing 'long' with 'afs_uint32' (cherry picked from commit 6034868e79f85e0143caa40669244cb8e442587b) --- diff --git a/src/WINNT/afsd/smb.h b/src/WINNT/afsd/smb.h index f312e3d40..5c81451aa 100644 --- a/src/WINNT/afsd/smb.h +++ b/src/WINNT/afsd/smb.h @@ -332,7 +332,7 @@ typedef struct smb_ioctl { char *inDatap; /* ioctl func's current position * in input parameter block */ char *inAllocp; /* allocated input parameter block */ - long inCopied; /* # of input bytes copied in so far + afs_uint32 inCopied; /* # of input bytes copied in so far * by write calls */ cm_space_t *prefix; /* prefix for subst drives */ char *tidPathp; /* Pathname associated with Tree ID */ @@ -340,11 +340,11 @@ typedef struct smb_ioctl { /* output side */ char *outDatap; /* output results assembled so far */ char *outAllocp; /* output results assembled so far */ - long outCopied; /* # of output bytes copied back so far + afs_uint32 outCopied; /* # of output bytes copied back so far * by read calls */ /* flags */ - long flags; + afs_uint32 flags; /* fid pointer */ struct smb_fid *fidp;