summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-14 07:08:43 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-14 07:08:43 +0000
commitc09647c3e1faa54e36c383958d9ea6def911f77d (patch)
tree46c72f9c4b6721c8c6fdc92817867b652eeabf5e /source3
parent1cdfdd4f0e1dc8610992786ce946db71f493c746 (diff)
downloadsamba-c09647c3e1faa54e36c383958d9ea6def911f77d.tar.gz
samba-c09647c3e1faa54e36c383958d9ea6def911f77d.tar.bz2
samba-c09647c3e1faa54e36c383958d9ea6def911f77d.zip
more warnings...
(This used to be commit 8b9c0bad889d4f26987d87c54b4d8bf102af1744)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/crc32.c2
-rw-r--r--source3/rpc_server/srv_util.c3
-rw-r--r--source3/smbd/oplock.c2
3 files changed, 3 insertions, 4 deletions
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;i<count;i++)
{
diff --git a/source3/rpc_server/srv_util.c b/source3/rpc_server/srv_util.c
index 520a9cc02a..f9532981e0 100644
--- a/source3/rpc_server/srv_util.c
+++ b/source3/rpc_server/srv_util.c
@@ -384,8 +384,7 @@ static BOOL api_pipe_bind_req(pipes_struct *p, prs_struct *pd)
/*** authentication info ***/
- make_rpc_hdr_auth(&p->auth_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);
}