Skip to content

Commit e0f42d3

Browse files
committed
Fix compilation on windows part #3
1 parent 00377db commit e0f42d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/opt_histogram_json.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ int Histogram_json_hb::find_bucket(Field *field, const uchar *lookup_val,
372372
bool equal_is_less)
373373
{
374374
int low= 0;
375-
int high= histogram_bounds.size() - 1;
375+
int high= (int)histogram_bounds.size() - 1;
376376
int middle;
377377

378378
while (low + 1 < high)

0 commit comments

Comments
 (0)