Commit f8da31fd authored by Rich Prohaska's avatar Rich Prohaska

convert really long command line arg

git-svn-id: file:///svn/tokudb@218 c7de825b-a66e-492c-adef-691d508d4ae1
parent b1b286de
...@@ -94,7 +94,7 @@ int main (int argc, char *argv[]) { ...@@ -94,7 +94,7 @@ int main (int argc, char *argv[]) {
if (argc==2) { if (argc==2) {
char *end; char *end;
errno=0; errno=0;
total_n_items = ITEMS_TO_INSERT_PER_ITERATION * strtol(argv[1], &end, 10); total_n_items = ITEMS_TO_INSERT_PER_ITERATION * strtoll(argv[1], &end, 10);
assert(errno==0); assert(errno==0);
assert(*end==0); assert(*end==0);
assert(end!=argv[1]); assert(end!=argv[1]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment