mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 15:12:47 +00:00
Cast args to min to fix compiler warnings
This commit is contained in:
parent
723e5b0f9a
commit
91d9eec1ff
@ -161,7 +161,7 @@ static int cmd_logical_resolve(int argc, char **argv)
|
||||
if (check_argc_exact(argc - optind, 2))
|
||||
usage(cmd_logical_resolve_usage);
|
||||
|
||||
size = min(size, 64 * 1024);
|
||||
size = min(size, (u64)64 * 1024);
|
||||
inodes = malloc(size);
|
||||
if (!inodes)
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user