summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-16 01:30:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:30 -0500
commit9bcaf47c635ab92d7c171278180f33f6c72c6b57 (patch)
tree5781ce8fcc6d7ed23a383d5bc373c3ed7f91f23c /source3
parent06491a4cb12d8753c63525b3ba4d754d2ab1e822 (diff)
downloadsamba-9bcaf47c635ab92d7c171278180f33f6c72c6b57.tar.gz
samba-9bcaf47c635ab92d7c171278180f33f6c72c6b57.tar.bz2
samba-9bcaf47c635ab92d7c171278180f33f6c72c6b57.zip
r16275: Start fixing up gcc4 -O6 warnings on an x86_64 box. size_t != unsigned int
in a format string. Jeremy. (This used to be commit 952547471f03bd2da1eda0247471b17aa1ff15de)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/ipc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 3250387909..e6dfc6506a 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -369,8 +369,8 @@ static NTSTATUS handle_trans(connection_struct *conn,
int name_offset = 0;
DEBUG(3,("trans <%s> data=%u params=%u setup=%u\n",
- state->name,state->total_data,state->total_param,
- state->setup_count));
+ state->name,(unsigned int)state->total_data,(unsigned int)state->total_param,
+ (unsigned int)state->setup_count));
/*
* WinCE wierdness....
@@ -481,7 +481,7 @@ int reply_trans(connection_struct *conn, char *inbuf,char *outbuf,
state->data = SMB_MALLOC(state->total_data);
if (state->data == NULL) {
DEBUG(0,("reply_trans: data malloc fail for %u "
- "bytes !\n", state->total_data));
+ "bytes !\n", (unsigned int)state->total_data));
TALLOC_FREE(state);
END_PROFILE(SMBtrans);
return(ERROR_DOS(ERRDOS,ERRnomem));
@@ -501,7 +501,7 @@ int reply_trans(connection_struct *conn, char *inbuf,char *outbuf,
state->param = SMB_MALLOC(state->total_param);
if (state->param == NULL) {
DEBUG(0,("reply_trans: param malloc fail for %u "
- "bytes !\n", state->total_param));
+ "bytes !\n", (unsigned int)state->total_param));
SAFE_FREE(state->data);
TALLOC_FREE(state);
END_PROFILE(SMBtrans);