[PATCH 3/3] Fix int/uint copy-and-paste-o.

Günther Noack gnoack at google.com
Thu Jan 22 16:35:29 CET 2015


---
 tools/gpgconf-comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 86e67eb..01c4135 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -2365,7 +2365,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)
 	{
 	  unsigned long res;

--
2.2.2



More information about the Gnupg-devel mailing list