diff options
Diffstat (limited to 'missing')
-rw-r--r-- | missing/strftime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/missing/strftime.c b/missing/strftime.c index 5522226ec1..970c6c5349 100644 --- a/missing/strftime.c +++ b/missing/strftime.c @@ -445,7 +445,7 @@ strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr) } else { tbuf[0] = '+'; } - sprintf(tbuf+1, "%02d%02d", off/60, off%60); + sprintf(tbuf+1, "%02u%02u", (unsigned)off/60, (unsigned)off%60); break; #endif /* MAILHEADER_EXT */ |