diff options
| author | Tyge Løvset <[email protected]> | 2022-10-21 09:31:17 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-10-21 09:31:17 +0200 |
| commit | 3eb08b0372dd669af535a368e8a8cdb8a9c793c5 (patch) | |
| tree | 05d70cd2fe623eddc94280767c88332d8773405f /examples/new_queue.c | |
| parent | 2cefae32252f3051f75f44f4718a62a1210bd3a7 (diff) | |
| download | STC-modified-3eb08b0372dd669af535a368e8a8cdb8a9c793c5.tar.gz STC-modified-3eb08b0372dd669af535a368e8a8cdb8a9c793c5.zip | |
Renamed size_t formatting macro c_zu to c_ZU (for replacing %zu on mingw64).
Diffstat (limited to 'examples/new_queue.c')
| -rw-r--r-- | examples/new_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/new_queue.c b/examples/new_queue.c index c1e4e7b0..46ae836e 100644 --- a/examples/new_queue.c +++ b/examples/new_queue.c @@ -32,7 +32,7 @@ int main() { IQ_push(&Q, stc64_uniform(&rng, &dist)); // Push or pop on the queue 50 million times - printf("befor: size %" c_zu ", capacity %" c_zu "\n", IQ_size(&Q), IQ_capacity(&Q)); + printf("befor: size %" c_ZU ", capacity %" c_ZU "\n", IQ_size(&Q), IQ_capacity(&Q)); c_forrange (n) { int r = stc64_uniform(&rng, &dist); if (r & 3) @@ -40,6 +40,6 @@ int main() { else IQ_pop(&Q); } - printf("after: size %" c_zu ", capacity %" c_zu "\n", IQ_size(&Q), IQ_capacity(&Q)); + printf("after: size %" c_ZU ", capacity %" c_ZU "\n", IQ_size(&Q), IQ_capacity(&Q)); } } |
