Consistently use size_t rather than uint64_t for extent serial numbers.
diff --git a/src/arena.c b/src/arena.c
index a3f9899..87eead8 100644
--- a/src/arena.c
+++ b/src/arena.c
@@ -67,7 +67,7 @@
JEMALLOC_INLINE_C int
arena_sn_comp(const arena_chunk_map_misc_t *a, const arena_chunk_map_misc_t *b)
{
- uint64_t a_sn, b_sn;
+ size_t a_sn, b_sn;
assert(a != NULL);
assert(b != NULL);
diff --git a/src/extent.c b/src/extent.c
index a56018f..218156c 100644
--- a/src/extent.c
+++ b/src/extent.c
@@ -37,8 +37,8 @@
JEMALLOC_INLINE_C int
extent_sn_comp(const extent_node_t *a, const extent_node_t *b)
{
- uint64_t a_sn = (uintptr_t)extent_node_sn_get(a);
- uint64_t b_sn = (uintptr_t)extent_node_sn_get(b);
+ size_t a_sn = extent_node_sn_get(a);
+ size_t b_sn = extent_node_sn_get(b);
return ((a_sn > b_sn) - (a_sn < b_sn));
}