summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-09-13 10:25:54 +0200
committerTyge Løvset <[email protected]>2021-09-13 10:25:54 +0200
commitc8df06eba131d607660af4381d0d800d639f6279 (patch)
tree2f3e28f508726860b39499b3b25f7988dbd71853 /examples
parentfa2871406affad4d96a54554f80c7418a716b98c (diff)
downloadSTC-modified-c8df06eba131d607660af4381d0d800d639f6279.tar.gz
STC-modified-c8df06eba131d607660af4381d0d800d639f6279.zip
Very minor formatting.
Diffstat (limited to 'examples')
-rw-r--r--examples/birthday.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/birthday.c b/examples/birthday.c
index 62f39fb2..d2630911 100644
--- a/examples/birthday.c
+++ b/examples/birthday.c
@@ -24,7 +24,7 @@ static void test_repeats(void)
c_forrange (i, N) {
uint64_t k = stc64_rand(&rng) & mask;
int v = cmap_ic_emplace(&m, k, 0).ref->second += 1;
- if (v > 1) printf("repeated value %llx (%d) at 2^%d\n", k, v, (int) log2(i));
+ if (v > 1) printf("repeated value %zu (%d) at 2^%d\n", k, v, (int) log2(i));
}
}
}