From 327481b391e0f5fffde3beb2446f1259f4ccb309 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 28 May 2004 19:22:17 +0000 Subject: Silenced one signed/unsigned comparison compiler warning. --- Src/Modules/datetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Modules/datetime.c') diff --git a/Src/Modules/datetime.c b/Src/Modules/datetime.c index cb85b8e09..d90791620 100644 --- a/Src/Modules/datetime.c +++ b/Src/Modules/datetime.c @@ -48,7 +48,7 @@ bin_strftime(char *nam, char **argv, Options ops, int func) } secs = (time_t)strtoul(argv[1], &endptr, 10); - if (secs == ULONG_MAX) { + if (secs == (time_t)ULONG_MAX) { zwarnnam(nam, "%s: %e", argv[1], errno); return 1; } else if (*endptr != '\0') { -- cgit 1.4.1