Cast args to min to fix compiler warnings

This commit is contained in:
Chris Mason 2012-10-04 20:35:31 -04:00
parent 723e5b0f9a
commit 91d9eec1ff
1 changed files with 1 additions and 1 deletions

View File

@ -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;