changed "unsigned long" to "uint32" in several places (for IP
[kai/samba.git] / source3 / locking / locking.c
index 78661d6970681a2a9dd3f8eb367f981128ee6a23..8f76ce43daf78c00e3d640cd2dbc1b7453e5a021 100644 (file)
@@ -49,7 +49,7 @@ BOOL fcntl_lock(int fd,int op,uint32 offset,uint32 count,int type)
   if ((offset & mask) != 0)
     offset = (offset & ~mask) | ((offset & mask) >> 2);
 #else
-  unsigned long mask = ((unsigned)1<<31);
+  uint32 mask = ((unsigned)1<<31);
 
   /* interpret negative counts as large numbers */
   if (count < 0)