diff options
Diffstat (limited to 'manual/examples')
-rw-r--r-- | manual/examples/memstrm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/examples/memstrm.c b/manual/examples/memstrm.c index 0d443b1371..5701ba1f39 100644 --- a/manual/examples/memstrm.c +++ b/manual/examples/memstrm.c @@ -27,10 +27,10 @@ main (void) stream = open_memstream (&bp, &size); fprintf (stream, "hello"); fflush (stream); - printf ("buf = `%s', size = %d\n", bp, size); + printf ("buf = `%s', size = %zu\n", bp, size); fprintf (stream, ", world"); fclose (stream); - printf ("buf = `%s', size = %d\n", bp, size); + printf ("buf = `%s', size = %zu\n", bp, size); return 0; } |