X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/fe96018750bb6bbb16a0001a1056b2557be30f58..13d00101e808ebfc327f8c5e830b96303facf31f:/generator.c diff --git a/generator.c b/generator.c index 93a707a8..12d790c5 100644 --- a/generator.c +++ b/generator.c @@ -841,7 +841,7 @@ notify_others: #endif } *lb = len; - write_buf(f_out_name, lenbuf, lb - lenbuf + 1); + write_buf(f_out_name, (char*)lenbuf, lb - lenbuf + 1); write_buf(f_out_name, fuzzy_file->basename, len); } }