libs/libc/time/lib_strftime.c: Fix a printf format warning
This commit is contained in:
parent
08b4cb6517
commit
9c08c53e81
@ -397,8 +397,8 @@ size_t strftime(FAR char *s, size_t max, FAR const char *format,
|
||||
|
||||
case 's':
|
||||
{
|
||||
len = snprintf(dest, chleft, "%d",
|
||||
mktime((FAR struct tm *)tm));
|
||||
len = snprintf(dest, chleft, "%ju",
|
||||
(uintmax_t)mktime((FAR struct tm *)tm));
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user