aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/ChangeLog4
-rw-r--r--tools/gpgconf-comp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog
index 34bba91a9..1dc65c624 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-21 Werner Koch <[email protected]>
+
+ * gpgconf-comp.c (list_one_option): Cast print size_t arg.
+
2006-11-17 Werner Koch <[email protected]>
* gpgconf-comp.c: Made disable-keypad a basic option.
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 : "");