diff options
author | Wayne Davison <wayned@samba.org> | 2006-11-23 04:16:48 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-11-23 04:16:48 +0000 |
commit | e17883827b2f387e00172ac280484d77be47f70f (patch) | |
tree | b91c5a707f87cabd936ef549d032f9cd9e84ab5e /generator.c | |
parent | 37a4386d2c3260f8c4ed6b9268a5d48f847ec85b (diff) | |
download | rsync-e17883827b2f387e00172ac280484d77be47f70f.tar.gz rsync-e17883827b2f387e00172ac280484d77be47f70f.tar.bz2 rsync-e17883827b2f387e00172ac280484d77be47f70f.zip |
Silenced a compiler warning.
Diffstat (limited to 'generator.c')
-rw-r--r-- | generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator.c b/generator.c index 74a5b8b8..dacb6c78 100644 --- a/generator.c +++ b/generator.c @@ -402,7 +402,7 @@ static void delete_in_dir(struct file_list *flist, char *fbuf, if (flist_find(flist, fp) < 0) { f_name(fp, delbuf); if (delete_delay_fp) - fprintf(delete_delay_fp, "%o %s%c", fp->mode, delbuf, '\0'); + fprintf(delete_delay_fp, "%o %s%c", (short)fp->mode, delbuf, '\0'); else delete_item(delbuf, fp->mode, NULL, DEL_RECURSE); } |