summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:24:13 +0000
committerWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:24:13 +0000
commit12b2ed63ab6f2b075b361ba7081e62d32b0cc122 (patch)
treea3887d5ce2dc7d6a409e722b3d2e342d1a23ea57 /Src/Modules
parentb5d7902c20ba6b1fcd6a1d0da0f6afdc7bed9fcd (diff)
downloadzsh-12b2ed63ab6f2b075b361ba7081e62d32b0cc122.tar.gz
zsh-12b2ed63ab6f2b075b361ba7081e62d32b0cc122.tar.xz
zsh-12b2ed63ab6f2b075b361ba7081e62d32b0cc122.zip
Silenced one signed/unsigned comparison compiler warning.
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 c4f6e1ff5..e4c5a9703 100644
--- a/Src/Modules/zftp.c
+++ b/Src/Modules/zftp.c
@@ -431,7 +431,7 @@ zfunalarm(void)
 	 * I love the way alarm() uses unsigned int while time_t
 	 * is probably something completely different.
 	 */
-	time_t tdiff = time(NULL) - oaltime;
+	unsigned int tdiff = time(NULL) - oaltime;
 	alarm(oalremain < tdiff ? 1 : oalremain - tdiff);
     } else
 	alarm(0);