diff options
Diffstat (limited to 'examples/priority.c')
| -rw-r--r-- | examples/priority.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/priority.c b/examples/priority.c index 184cad9f..1767dba8 100644 --- a/examples/priority.c +++ b/examples/priority.c @@ -15,7 +15,7 @@ int main() { c_auto (cpque_i, heap)
{
// Push ten million random numbers to priority queue
- printf("Push %zu numbers\n", N);
+ printf("Push %" PRIuMAX " numbers\n", N);
c_forrange (N)
cpque_i_push(&heap, stc64_uniform(&rng, &dist));
@@ -27,7 +27,7 @@ int main() { puts("Extract the hundred smallest.");
c_forrange (100) {
- printf("%zd ", *cpque_i_top(&heap));
+ printf("%" PRIdMAX " ", *cpque_i_top(&heap));
cpque_i_pop(&heap);
}
}
|
