summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trafgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen.c b/trafgen.c
index 66be7d6..a3a5bb9 100644
--- a/trafgen.c
+++ b/trafgen.c
@@ -1010,7 +1010,7 @@ int main(int argc, char **argv)
else
panic("Syntax error in ring size param!\n");
- ctx.reserve_size *= strtol(optarg, NULL, 0);
+ ctx.reserve_size *= strtoul(optarg, NULL, 0);
break;
case '?':
switch (optopt) {