mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
fix time_t logging
This commit is contained in:
parent
b525293a95
commit
8b88e44090
@ -3327,7 +3327,7 @@ void llcache_clean(bool purge)
|
||||
NSLOG(llcache, DEBUG,
|
||||
"discarding fresh object len:%zd age:%ld (%p) %s",
|
||||
object->source_len,
|
||||
time(NULL) - object->last_used,
|
||||
(long)(time(NULL) - object->last_used),
|
||||
object,
|
||||
nsurl_access(object->url));
|
||||
|
||||
|
@ -185,7 +185,7 @@ int monkey_schedule_run(void)
|
||||
timersub(&nexttime, &tv, &rettime);
|
||||
|
||||
NSLOG(schedule, DEBUG, "returning time to next event as %ldms",
|
||||
(rettime.tv_sec * 1000) + (rettime.tv_usec / 1000));
|
||||
(long)((rettime.tv_sec * 1000) + (rettime.tv_usec / 1000)));
|
||||
|
||||
/* return next event time in milliseconds (24days max wait) */
|
||||
return (rettime.tv_sec * 1000) + (rettime.tv_usec / 1000);
|
||||
|
Loading…
Reference in New Issue
Block a user