Fix sscanf argument type for format %x
authorPeter Colberg <peter@colberg.org>
Fri, 30 Oct 2015 19:27:18 +0000 (15:27 -0400)
committerPeter Colberg <peter@colberg.org>
Fri, 30 Oct 2015 19:27:18 +0000 (15:27 -0400)
test/printproperty.c

index b876f0cfe711300b6614c6f20b3c629f63b7c56d..4c0aae5945724373eddbe49745831834dbc3cb86 100644 (file)
@@ -7,7 +7,7 @@ int main(int argc, char **argv)
      int i;
 
      for (i = 1; i < argc; ++i) {
-          int c;
+          unsigned int c;
           if (!strcmp(argv[i], "-V")) {
                printf("utf8proc version %s\n", utf8proc_version());
                continue;