Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Feb 25, 2017

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit c9057434a99a85f643ce433c7fec9b8f7fad9761:

Fio 2.18 (2017-02-23 08:44:32 -0700)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 4ed22fe532123f81e618269e9a77b7b41e0e9cad:

fio: fix overflow trying to use 'd' suffix (2017-02-24 01:45:07 +0000)

----------------------------------------------------------------
Sitsofe Wheeler (1):
fio: fix overflow trying to use 'd' suffix

 parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

parse.c +1 -1
index fc508b6..fd5605f 100644
@@ -167,7 +167,7 @@ static unsigned long long get_mult_time(const char *str, int len,
 	else if (!strcmp("h", c))
 		mult = 60 * 60 * 1000000UL;
 	else if (!strcmp("d", c))
-		mult = 24 * 60 * 60 * 1000000UL;
+		mult = 24 * 60 * 60 * 1000000ULL;
 
 	free(c);
 	return mult;