forked from premiere/premiere-libtorrent
fix log_time string formatting issue
This commit is contained in:
parent
f1be2c6b80
commit
4a5fbd8a89
|
@ -82,7 +82,7 @@ namespace libtorrent
|
|||
{
|
||||
static const ptime start = time_now_hires();
|
||||
char ret[200];
|
||||
snprintf(ret, sizeof(ret), "%d", total_microseconds(time_now_hires() - start));
|
||||
snprintf(ret, sizeof(ret), "%"PRId64, total_microseconds(time_now_hires() - start));
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue