diff options
| author | Wayne Davison <wayned@users.sourceforge.net> | 2004-05-28 19:22:17 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@users.sourceforge.net> | 2004-05-28 19:22:17 +0000 |
| commit | 327481b391e0f5fffde3beb2446f1259f4ccb309 (patch) | |
| tree | b9c26cdcf5fd9f099151ffd6f44f2dab86ce8675 /Src/Modules/datetime.c | |
| parent | Silenced two signed/unsigned comparison compiler warnings. (diff) | |
| download | zsh-327481b391e0f5fffde3beb2446f1259f4ccb309.tar zsh-327481b391e0f5fffde3beb2446f1259f4ccb309.tar.gz zsh-327481b391e0f5fffde3beb2446f1259f4ccb309.tar.bz2 zsh-327481b391e0f5fffde3beb2446f1259f4ccb309.tar.lz zsh-327481b391e0f5fffde3beb2446f1259f4ccb309.tar.xz zsh-327481b391e0f5fffde3beb2446f1259f4ccb309.tar.zst zsh-327481b391e0f5fffde3beb2446f1259f4ccb309.zip | |
Silenced one signed/unsigned comparison compiler warning.
Diffstat (limited to 'Src/Modules/datetime.c')
| -rw-r--r-- | Src/Modules/datetime.c | 2 |
1 files changed, 1 insertions, 1 deletions
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') { |
