1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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)
This commit is contained in:
Jeremy Allison 2006-06-16 01:35:08 +00:00 committed by Gerald (Jerry) Carter
parent 87967b90c4
commit c115570b85

View File

@ -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);