diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-16 01:33:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:30 -0500 |
commit | 87967b90c44915a64cff6ea961f613ea6676c798 (patch) | |
tree | a0f6bb12a77a1eb266630fec42aa6114f83c11cb /source3/smbd | |
parent | 17e1b8399631c61ffea8ed87996b49b06ed3903d (diff) | |
download | samba-87967b90c44915a64cff6ea961f613ea6676c798.tar.gz samba-87967b90c44915a64cff6ea961f613ea6676c798.tar.bz2 samba-87967b90c44915a64cff6ea961f613ea6676c798.zip |
r16280: 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 45d5cad8c2438c032d9f11c62a50a04d0637bf6c)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/trans2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 86743f626e..ef6cae14ba 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -5286,7 +5286,7 @@ int reply_trans2(connection_struct *conn, char *inbuf,char *outbuf, state->data = SMB_MALLOC(state->total_data); if (state->data == NULL) { DEBUG(0,("reply_trans2: data malloc fail for %u " - "bytes !\n", state->total_data)); + "bytes !\n", (unsigned int)state->total_data)); TALLOC_FREE(state); END_PROFILE(SMBtrans2); return(ERROR_DOS(ERRDOS,ERRnomem)); @@ -5306,7 +5306,7 @@ int reply_trans2(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(SMBtrans2); |