From 6b54a688cfb790542c3a9b7705fe3cb664f9ffc0 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 5 May 2006 05:40:17 +0000 Subject: [PATCH] Cast file->mode to an int when printing it via %o. --- generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator.c b/generator.c index 5d1077e2..d8863d7c 100644 --- a/generator.c +++ b/generator.c @@ -740,7 +740,7 @@ static int try_dests_non(struct file_struct *file, char *fname, int ndx, } else { rprintf(FERROR, "internal: try_dests_non() called with invalid mode (%o)\n", - file->mode); + (int)file->mode); exit_cleanup(RERR_UNSUPPORTED); } if (link_dest -- 2.34.1