Skip to content

Commit ad5820e

Browse files
committed
refactor: Rename loop variable in JSON parsing to improve clarity
1 parent 9cc5fe9 commit ad5820e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/iceberg/location_provider.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ std::string DirsFromHash(int32_t hash) {
9090

9191
std::string ComputeHash(std::string_view file_name) {
9292
int32_t hash_value = 0;
93-
MurmurHash3_x86_32(file_name.data(), file_name.size(), 0, &hash_value);
93+
MurmurHash3_x86_32(file_name.data(), static_cast<int>(file_name.size()), 0,
94+
&hash_value);
9495
return DirsFromHash(hash_value);
9596
}
9697

0 commit comments

Comments
 (0)