Commit 543e2dd1 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

ioping: fix 32-bit wsize overflow

Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
parent 70c1977b
......@@ -232,8 +232,8 @@ long long interval = 1000000;
long long deadline = 0;
ssize_t size = 1<<12;
ssize_t wsize = 0;
ssize_t temp_wsize = 1<<20;
off_t wsize = 0;
off_t temp_wsize = 1<<20;
off_t offset = 0;
off_t woffset = 0;
......
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