From: Wayne Davison Date: Thu, 12 Jun 2008 13:59:51 +0000 (-0700) Subject: Cast the datum_len value to a long for rprintf(). X-Git-Tag: v3.0.3pre3~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e424e261284560662a8de1bfe2beeadb2293dbe2;p=thirdparty%2Frsync.git Cast the datum_len value to a long for rprintf(). --- diff --git a/xattrs.c b/xattrs.c index b2040f26..ee21c8d8 100644 --- a/xattrs.c +++ b/xattrs.c @@ -591,8 +591,8 @@ int recv_xattr_request(struct file_struct *file, int f_in) exit_cleanup(RERR_STREAMIO); } if (!XATTR_ABBREV(*rxa) || rxa->datum[0] != XSTATE_ABBREV) { - rprintf(FERROR, "[%s] internal abbrev error on %s (%s, len=%d)!\n", - who_am_i(), f_name(file, NULL), rxa->name, rxa->datum_len); + rprintf(FERROR, "[%s] internal abbrev error on %s (%s, len=%ld)!\n", + who_am_i(), f_name(file, NULL), rxa->name, (long)rxa->datum_len); exit_cleanup(RERR_STREAMIO); }