summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-16 01:32:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:30 -0500
commit17e1b8399631c61ffea8ed87996b49b06ed3903d (patch)
tree87a50d4f49d4953963d62fb721c1131c6c979875 /source3
parent9bcaf47c635ab92d7c171278180f33f6c72c6b57 (diff)
downloadsamba-17e1b8399631c61ffea8ed87996b49b06ed3903d.tar.gz
samba-17e1b8399631c61ffea8ed87996b49b06ed3903d.tar.bz2
samba-17e1b8399631c61ffea8ed87996b49b06ed3903d.zip
r16277: 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 3a15fff21988b426a514ad28060eaf0ddc17ef6b)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/nttrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 5d19d496fd..17a4a30941 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -2903,7 +2903,7 @@ int reply_nttrans(connection_struct *conn,
* params and data. */
if ((state->data = SMB_MALLOC(state->total_data)) == NULL) {
DEBUG(0,("reply_nttrans: data malloc fail for %u "
- "bytes !\n", state->total_data));
+ "bytes !\n", (unsigned int)state->total_data));
TALLOC_FREE(state);
END_PROFILE(SMBnttrans);
return(ERROR_DOS(ERRDOS,ERRnomem));
@@ -2922,7 +2922,7 @@ int reply_nttrans(connection_struct *conn,
* params and data. */
if ((state->param = SMB_MALLOC(state->total_param)) == NULL) {
DEBUG(0,("reply_nttrans: 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(SMBnttrans);