aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/gpgconf-comp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 83bc24e52..499398943 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -2249,7 +2249,7 @@ option_check_validity (gc_option_t *option, unsigned long flags,
gc_error (1, 0, "garbage after argument for option %s",
option->name);
}
- else if (gc_arg_type[option->arg_type].fallback == GC_ARG_TYPE_INT32)
+ else if (gc_arg_type[option->arg_type].fallback == GC_ARG_TYPE_UINT32)
{
errno = 0;
(void) strtoul (arg, &arg, 0);