fix format specifier in profiler_print

This commit is contained in:
Norbert Federa 2016-12-19 10:01:18 +01:00
parent 80bf3d6ae5
commit 9359ae8ee9
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ void profiler_print(PROFILER* profiler)
{
double elapsed_sec = stopwatch_get_elapsed_time_in_seconds(profiler->stopwatch);
double avg_sec = elapsed_sec / (double) profiler->stopwatch->count;
WLog_INFO(TAG, "| %-30.30s| %10du | %9f | %9f |",
WLog_INFO(TAG, "| %-30.30s| %10"PRIu32" | %9f | %9f |",
profiler->name, profiler->stopwatch->count, elapsed_sec, avg_sec);
}