diff options
Diffstat (limited to 'libbcachefs/util.c')
-rw-r--r-- | libbcachefs/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbcachefs/util.c b/libbcachefs/util.c index a9790954..bf5ffb47 100644 --- a/libbcachefs/util.c +++ b/libbcachefs/util.c @@ -433,8 +433,8 @@ static const struct time_unit { { "us", NSEC_PER_USEC }, { "ms", NSEC_PER_MSEC }, { "s", NSEC_PER_SEC }, - { "m", NSEC_PER_SEC * 60}, - { "h", NSEC_PER_SEC * 3600}, + { "m", (u64) NSEC_PER_SEC * 60}, + { "h", (u64) NSEC_PER_SEC * 3600}, { "eon", U64_MAX }, }; |