From c115570b857cff15c929cf80ad3c8f32272818d5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 16 Jun 2006 01:35:08 +0000 Subject: r16281: 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 c49ad9200bf3fdd8b9404d93182c2e04e662190a) --- source3/locking/locking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/locking/locking.c b/source3/locking/locking.c index b536844319..0ffb937432 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -846,7 +846,7 @@ BOOL rename_share_filename(struct share_mode_lock *lck, SDEV_T_VAL(frm,0,lck->dev); SINO_T_VAL(frm,8,lck->ino); - DEBUG(10,("rename_share_filename: msg_len = %d\n", msg_len )); + DEBUG(10,("rename_share_filename: msg_len = %u\n", (unsigned int)msg_len )); safe_strcpy(&frm[16], lck->servicepath, sp_len); safe_strcpy(&frm[16 + sp_len + 1], lck->filename, fn_len); -- cgit