From fdb00982f5405a869392e0dfea6a76e044af212a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 31 Oct 2011 09:48:58 +0000 Subject: Jun T: 29883: cast resource types to types they should be anyway --- Src/Modules/zftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Modules/zftp.c') diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c index 8d688abd4..d16e2f618 100644 --- a/Src/Modules/zftp.c +++ b/Src/Modules/zftp.c @@ -2520,7 +2520,7 @@ zftp_local(UNUSED(char *name), char **args, int flags) printf("%s %s\n", output64(sz), mt); #else DPUTS(sizeof(sz) > 4, "Shell compiled with wrong off_t size"); - printf("%ld %s\n", sz, mt); + printf("%ld %s\n", (long)sz, mt); #endif zsfree(mt); if (dofd) -- cgit v1.2.3