mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
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 45d5cad8c2
)
This commit is contained in:
parent
17e1b83996
commit
87967b90c4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user