From e50c5f39cc2ea399eead30ef451d7d5e24c13fe6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 21 Nov 2006 11:00:14 +0000 Subject: No more warnings for AMD64 (at least when cross-compiling). Thus tehre is a good chance that gpg2 will now work. Other cleanups. Updated gettext. --- tools/gpgconf-comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gpgconf-comp.c') diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c index d88c96751..e1d96d2c8 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -1175,7 +1175,7 @@ list_one_option (const gc_option_t *option, FILE *out) && option->value) /* The special format "1,1,1,1,...,1" is converted to a number here. */ - fprintf (out, ":%u", (strlen (option->value) + 1) / 2); + fprintf (out, ":%u", (unsigned int)((strlen (option->value) + 1) / 2)); else fprintf (out, ":%s", option->value ? option->value : ""); -- cgit v1.2.3