diff options
author | Colin Watson <cjwatson@debian.org> | 2019-08-25 17:00:23 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-08-25 17:00:23 +0100 |
commit | 6163f5ce6c220d3fbde260726d5560cbc8ecb260 (patch) | |
tree | b62187c6d9669ceea76916092fb947f8b29bd6ae /libdb | |
parent | c1f4a2459797c6eed7af765c0eaf7a61fc568b25 (diff) |
Fix some printf formats
* libdb/db_lookup.c (list_extensions): Format the return value of
gl_list_size using %zu, not %zd.
* src/catman.c (add_arg): Format the return values of MYDBM_DSIZE and
strlen using %zu, not %zd.
(parse_for_sec): Format ARG_MAX - arg_size using %zu, not %zd.
* src/man.c (main): Format ruid and euid using %lu, not %d (cast to
unsigned long since POSIX only says that uid_t is an integer type).
* src/manp.c (describe_flag): Format flag using %u, not %d.
Diffstat (limited to 'libdb')
-rw-r--r-- | libdb/db_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdb/db_lookup.c b/libdb/db_lookup.c index d9ba16cf..a772ef87 100644 --- a/libdb/db_lookup.c +++ b/libdb/db_lookup.c @@ -255,7 +255,7 @@ gl_list_t list_extensions (char *data) gl_list_add_last (list, name_ext); } - debug ("found %zd names/extensions\n", gl_list_size (list)); + debug ("found %zu names/extensions\n", gl_list_size (list)); return list; } |