Commit 5fea2602 authored by Rich Prohaska's avatar Rich Prohaska

need to watch the long boundary

git-svn-id: file:///svn/tokudb@219 c7de825b-a66e-492c-adef-691d508d4ae1
parent f8da31fd
......@@ -94,7 +94,7 @@ int main (int argc, char *argv[]) {
if (argc==2) {
char *end;
errno=0;
total_n_items = ITEMS_TO_INSERT_PER_ITERATION * strtoll(argv[1], &end, 10);
total_n_items = ITEMS_TO_INSERT_PER_ITERATION * (long long) strtol(argv[1], &end, 10);
assert(errno==0);
assert(*end==0);
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