aboutsummaryrefslogtreecommitdiffstats
path: root/cm-demo.c
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-03-22 21:55:00 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-03-22 21:55:00 +0100
commit6381197d09637de75bf81e7bc9c78b06f878088f (patch)
treec1ac1d78217e7ab5943b6f6e967fcea06fa36a18 /cm-demo.c
parentd499436acfeac2cb64db89cc8ae1219a91d5fc1e (diff)
iterator helper
Diffstat (limited to 'cm-demo.c')
-rw-r--r--cm-demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cm-demo.c b/cm-demo.c
index 3d91843..7a5a3e2 100644
--- a/cm-demo.c
+++ b/cm-demo.c
@@ -46,7 +46,7 @@ int main(void) {
cm_iter_init(&iter, &map);
const char** word;
int* count;
- while (cm_iter_next(&iter, &map, (uint8_t**)&word, (uint8_t**)&count)) {
+ while (cm_iter_next_(&iter, &map, &word, &count)) {
printf(" %s: %d\n", *word, *count);
}