From c09647c3e1faa54e36c383958d9ea6def911f77d Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Wed, 14 Oct 1998 07:08:43 +0000 Subject: more warnings... (This used to be commit 8b9c0bad889d4f26987d87c54b4d8bf102af1744) --- source3/lib/crc32.c | 2 +- source3/rpc_server/srv_util.c | 3 +-- source3/smbd/oplock.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'source3') diff --git a/source3/lib/crc32.c b/source3/lib/crc32.c index b92bc70d12..ad7131a800 100644 --- a/source3/lib/crc32.c +++ b/source3/lib/crc32.c @@ -60,7 +60,7 @@ static unsigned long CRCTable[256] = uint32 crc32_calc_buffer( uint32 count, char *buffer) { - unsigned long crc=0xffffffff; + uint32 crc=0xffffffff; int i; for(i=0;iauth_info, - 0x0a, 0x06, 0); + make_rpc_hdr_auth(&p->auth_info, 0x0a, 0x06, 0, 1); smb_io_rpc_hdr_auth("", &p->auth_info, &p->rverf, 0); mem_realloc_data(p->rverf.data, p->rverf.offset); diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index c5a19df0e9..fee1b8141d 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -54,7 +54,7 @@ BOOL open_oplock_ipc(void) if (oplock_sock == -1) { DEBUG(0,("open_oplock_ipc: Failed to get local UDP socket for \ -address %x. Error was %s\n", htonl(INADDR_LOOPBACK), strerror(errno))); +address %lx. Error was %s\n", htonl(INADDR_LOOPBACK), strerror(errno))); global_oplock_port = 0; return(False); } -- cgit