From c6e453df2c9c82cc64f5477cb9824845225be598 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 4 Oct 2011 12:10:08 +1030 Subject: [PATCH] jmap: fix _info example for 64 bit systems. --- ccan/jmap/_info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccan/jmap/_info b/ccan/jmap/_info index 0047dc05..966a51a4 100644 --- a/ccan/jmap/_info +++ b/ccan/jmap/_info @@ -25,7 +25,7 @@ * * struct opt_detail { * bool is_long; - * unsigned int length; // == 1 if !is_long. + * size_t length; // == 1 if !is_long. * }; * * // Define map type for int -> argv. @@ -67,7 +67,7 @@ * for (i = jmap_first(arg); i; i = jmap_next(arg,i)) { * char *a = jmap_get(arg, i); * d = jmap_get(opt, a); - * printf(" Arg %i ('%s') is a %s of %u chars\n", + * printf(" Arg %i ('%s') is a %s of %zu chars\n", * i, a, * d == NULL ? "normal arg" * : d->is_long ? "long opt" -- 2.39.2