From 17e1b8399631c61ffea8ed87996b49b06ed3903d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 16 Jun 2006 01:32:19 +0000 Subject: 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) --- source3/smbd/nttrans.c | 4 ++-- 1 file 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); -- cgit