[Commits] 6352d59d12c: Fix compilation on windows part #3
revision-id: 6352d59d12cb5ab7e6530a74171413ddba5e2870 (mariadb-10.6.1-119-g6352d59d12c) parent(s): 95a3f59336a51b960f6d5249ba0635bdc08a9a56 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2021-09-04 18:18:19 +0300 message: Fix compilation on windows part #3 --- sql/opt_histogram_json.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/opt_histogram_json.cc b/sql/opt_histogram_json.cc index cc20165b4db..5f4e0eca585 100644 --- a/sql/opt_histogram_json.cc +++ b/sql/opt_histogram_json.cc @@ -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)
participants (1)
-
psergey