summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-16 01:35:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:30 -0500
commitc115570b857cff15c929cf80ad3c8f32272818d5 (patch)
tree7703a88b02f7a1fbfa40583c027948ffd65fd7bd
parent87967b90c44915a64cff6ea961f613ea6676c798 (diff)
downloadsamba-c115570b857cff15c929cf80ad3c8f32272818d5.tar.gz
samba-c115570b857cff15c929cf80ad3c8f32272818d5.tar.bz2
samba-c115570b857cff15c929cf80ad3c8f32272818d5.zip
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)
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
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);