From d8e2fa0c49d506bde037fe448dc9840e8e14cf92 Mon Sep 17 00:00:00 2001 From: Monty Date: Sat, 23 May 2020 14:36:33 +0300 Subject: [PATCH] Fixed compiler failure on windows --- sql/table.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/table.cc b/sql/table.cc index 611b8d1296f..3bb321d3306 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -3684,7 +3684,7 @@ fix_type_pointers(const char ***typelib_value_names, if (!vend) return true; // Bad format *((*typelib_value_names)++)= ptr; - *((*typelib_value_lengths)++)= vend - ptr; + *((*typelib_value_lengths)++)= (uint) (vend - ptr); *vend= '\0'; // Change sep to '\0' ptr= vend + 1; // Shift from sep to the next byte /*