diff --git a/asctime.c b/asctime.c index 231948d..cf31fbb 100644 --- a/asctime.c +++ b/asctime.c @@ -98,7 +98,7 @@ char * buf; /* ** We avoid using snprintf since it's not available on all systems. */ - (void) sprintf(result, + (void) sprintf(result, ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), wn, mn, timeptr->tm_mday, timeptr->tm_hour,