From ebc96b7309dbce110ae63bcb91dd8ad5a2cadbbf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 14 Aug 1996 15:02:28 +0000 Subject: changed "unsigned long" to "uint32" in several places (for IP addresses) to keep 64 bit machines happy. (This used to be commit b4aaec504ae66dc6a0f05d12529100cb62d47afd) --- source3/locking/locking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/locking') 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) -- cgit