summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-08-14 15:02:28 +0000
committerAndrew Tridgell <tridge@samba.org>1996-08-14 15:02:28 +0000
commitebc96b7309dbce110ae63bcb91dd8ad5a2cadbbf (patch)
treef8677502a41e01ccf2b828d712e97faa62a32d2c /source3/locking
parent6475a9157464b132decbae2aee0f001a364c0dbe (diff)
downloadsamba-ebc96b7309dbce110ae63bcb91dd8ad5a2cadbbf.tar.gz
samba-ebc96b7309dbce110ae63bcb91dd8ad5a2cadbbf.tar.bz2
samba-ebc96b7309dbce110ae63bcb91dd8ad5a2cadbbf.zip
changed "unsigned long" to "uint32" in several places (for IP
addresses) to keep 64 bit machines happy. (This used to be commit b4aaec504ae66dc6a0f05d12529100cb62d47afd)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 78661d6970..8f76ce43da 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -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)