]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
windows-smb-20080103
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 4 Jan 2008 07:46:29 +0000 (07:46 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 4 Jan 2008 07:46:29 +0000 (07:46 +0000)
LICENSE MIT

ensure type consistency between 32-bit and 64-bit processes by replacing
'long' with 'afs_uint32'

src/WINNT/afsd/smb.h

index 5a3eeed72663c07d3fa3ec6f68e3af056e971c37..145dfd108d8df8fea4dc1da396906bf5da37771b 100644 (file)
@@ -319,7 +319,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 */
@@ -327,11 +327,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;