Skip to content

Commit

Permalink
Fix compilation on windows part #3
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrunia committed Jan 19, 2022
1 parent 00377db commit e0f42d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/opt_histogram_json.cc
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ int Histogram_json_hb::find_bucket(Field *field, const uchar *lookup_val,
bool equal_is_less)
{
int low= 0;
int high= histogram_bounds.size() - 1;
int high= (int)histogram_bounds.size() - 1;
int middle;

while (low + 1 < high)
Expand Down

0 comments on commit e0f42d3

Please sign in to comment.