X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fjmap%2F_info;h=739e60af7a105bf7f08c84e0242f19b448880289;hb=495f0115718b6d64b2ed597713d11aaed9da5fe9;hp=0047dc052cd087c5c969bc61c9f5d4506866a6eb;hpb=3a34aa1a0c71b0be86511a8aa83af9935351dad1;p=ccan diff --git a/ccan/jmap/_info b/ccan/jmap/_info index 0047dc05..739e60af 100644 --- a/ccan/jmap/_info +++ b/ccan/jmap/_info @@ -1,6 +1,6 @@ +#include "config.h" #include #include -#include "config.h" /** * jmap - map from indices to values (based on libJudy) @@ -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"