summaryrefslogtreecommitdiff
path: root/epan/wmem
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-11-25 03:33:44 -0800
committerGuy Harris <guy@alum.mit.edu>2015-11-25 11:34:08 +0000
commit571ed4d25907dae80bd9c0e3e5822fe473d77d2d (patch)
tree4a628fac308b686c0766b30b23bd7d44666e4677 /epan/wmem
parent12b2e3d4e211aa10fe8b2cb42847869f3378fd39 (diff)
downloadwireshark-571ed4d25907dae80bd9c0e3e5822fe473d77d2d.tar.gz
Print guint64's with G_GUINT64_FORMAT.
There is no guarantee that they will be long's, and thus no guarantee that they can be printed with "%lu". Change-Id: I5c2ff844a1024332f01dec58489a2d304ba4e7ce Reviewed-on: https://code.wireshark.org/review/12135 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/wmem')
-rw-r--r--epan/wmem/wmem_interval_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wmem/wmem_interval_tree.c b/epan/wmem/wmem_interval_tree.c
index ca91d45ca5..4f688ecd53 100644
--- a/epan/wmem/wmem_interval_tree.c
+++ b/epan/wmem/wmem_interval_tree.c
@@ -43,7 +43,7 @@ print_range(const void *value)
if(!value) {
return;
}
- printf("Range: low=%lu high=%lu max_edge=%lu\n", range->low, range->high, range->max_edge);
+ printf("Range: low=%" G_GUINT64_FORMAT " high=%" G_GUINT64_FORMAT " max_edge=%" G_GUINT64_FORMAT "\n", range->low, range->high, range->max_edge);
}
/**