Fix non-standard format specifiers

C90 permits plain %f for doubles. Thanks to Alexis for pointing this out.

Change-Id: I3f927b0a50e5764c2297c7f9d680c6363ba9fd0e
Reviewed-on: https://code.wireshark.org/review/1073
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Evan Huus 2014-04-11 14:08:14 -04:00 committed by Michael Mann
parent 2afa065d62
commit 5ad84a9ed1
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ wmem_time_allocators(void)
wmem_time_allocator(WMEM_ALLOCATOR_BLOCK);
block_time = g_test_timer_elapsed();
printf("(simple: %lf; block: %lf) ", simple_time, block_time);
printf("(simple: %f; block: %f) ", simple_time, block_time);
g_assert(simple_time > block_time);
}