about summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-10-31 09:48:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-10-31 09:48:58 +0000
commitfdb00982f5405a869392e0dfea6a76e044af212a (patch)
tree20c17256201ed17741085f4b274ae4a7a4ca0177 /Src/Modules
parent19550e7713c59cf3bc795fc0e0a3c6d62f88bb46 (diff)
downloadzsh-fdb00982f5405a869392e0dfea6a76e044af212a.tar.gz
zsh-fdb00982f5405a869392e0dfea6a76e044af212a.tar.xz
zsh-fdb00982f5405a869392e0dfea6a76e044af212a.zip
Jun T: 29883: cast resource types to types they should be anyway
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/zftp.c2
1 files changed, 1 insertions, 1 deletions
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)