aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-04-11 14:08:14 -0400
committerMichael Mann <mmann78@netscape.net>2014-04-12 00:25:38 +0000
commit5ad84a9ed1b16d6c96fd357352ceb55895671d6a (patch)
treee9e43f7eab65dfebc843f4e9331b0f9726c5539f /epan/wmem
parent2afa065d6201202c3804d8857c2f462e6dcde55f (diff)
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>
Diffstat (limited to 'epan/wmem')
-rw-r--r--epan/wmem/wmem_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wmem/wmem_test.c b/epan/wmem/wmem_test.c
index 3144d572f1..6203335c73 100644
--- a/epan/wmem/wmem_test.c
+++ b/epan/wmem/wmem_test.c
@@ -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);
}