commit | a4cfc4775cc1c8f1eb9b7ed5ffd3024d9be6747c | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Oct 09 10:30:48 2012 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 09 10:30:48 2012 -0600 |
tree | 7d73e9de77454198d8459408607b003cc62fff02 | |
parent | aeb32dfccbd052965b0e50714c12265551f61a00 [diff] [blame] |
options: cast page_size to unsigned long for sprintf() Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/options.c b/options.c index dd71f1e..84101d1 100644 --- a/options.c +++ b/options.c
@@ -2493,7 +2493,7 @@ char buf[128]; long l; - sprintf(buf, "%lu", page_size); + sprintf(buf, "%lu", (unsigned long) page_size); fio_keywords[0].replace = strdup(buf); mb_memory = os_phys_mem() / (1024 * 1024);