diff --git a/lib/metadata/metadata.c b/lib/metadata/metadata.c index 61816e27a..5f2addd19 100644 --- a/lib/metadata/metadata.c +++ b/lib/metadata/metadata.c @@ -987,7 +987,7 @@ uint64_t extents_from_size(struct cmd_context *cmd, uint64_t size, return 0; } - return (uint64_t) size / extent_size; + return size / extent_size; } /*