summaryrefslogtreecommitdiff
path: root/19.c
diff options
context:
space:
mode:
Diffstat (limited to '19.c')
-rw-r--r--19.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/19.c b/19.c
index f44f46c..4ea88c2 100644
--- a/19.c
+++ b/19.c
@@ -322,7 +322,7 @@ main(int argc, char ** argv)
int debug = 0, rounds = 24;
char const * build = "exhaustive", * output = "quality";
int quality = 0, i;
- long product = 1;
+ unsigned long product = 1;
regex_t reblueprint;
char buf[BUFSIZ];
@@ -427,7 +427,7 @@ main(int argc, char ** argv)
printf("Total quality level = %d\n", quality);
}
else if (strcmp(output, "product") == 0) {
- printf("Total geode product = %ld\n", product);
+ printf("Total geode product = %lu\n", product);
}
else {
fprintf(stderr, "Unknown output type: %s\n", output);