mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
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 3a15fff219
)
This commit is contained in:
parent
9bcaf47c63
commit
17e1b83996
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user