aboutsummaryrefslogtreecommitdiffstats
path: root/cm-demo.c
diff options
context:
space:
mode:
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);
}