From 6582895b5146149aab7c619cbcb0ea292cfe12e6 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 5 Jun 2009 18:40:40 +0000 Subject: docs/example patches for VMS --- docs/examples/multi-debugcallback.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/examples/multi-debugcallback.c') diff --git a/docs/examples/multi-debugcallback.c b/docs/examples/multi-debugcallback.c index 6a7403a8a..22d26c774 100644 --- a/docs/examples/multi-debugcallback.c +++ b/docs/examples/multi-debugcallback.c @@ -38,11 +38,12 @@ void dump(const char *text, /* without the hex output, we can fit more on screen */ width = 0x40; - fprintf(stream, "%s, %zd bytes (0x%zx)\n", text, size, size); + fprintf(stream, "%s, %010.10ld bytes (0x%08.8lx)\n", + text, (long)size, (long)size); for(i=0; i