summaryrefslogtreecommitdiffhomepage
path: root/examples/queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/queue.c')
-rw-r--r--examples/queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/queue.c b/examples/queue.c
index cfc8d988..cc6f8302 100644
--- a/examples/queue.c
+++ b/examples/queue.c
@@ -26,6 +26,6 @@ int main() {
else
--n, cqueue_i_pop(&queue);
}
- printf("%d, %" PRIuMAX "\n", n, cqueue_i_size(queue));
+ printf("%d, %" PRIuMAX "\n", n, cqueue_i_size(&queue));
}
}