fix log_time string formatting issue

This commit is contained in:
Arvid Norberg 2010-01-18 04:59:55 +00:00
parent f1be2c6b80
commit 4a5fbd8a89
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}