From 6eca53f1d382a247456d29794c70338f972b77a9 Mon Sep 17 00:00:00 2001 From: Sergey Glukhov Date: Mon, 29 Mar 2010 18:42:49 +0500 Subject: [PATCH] fixed compiler warning --- sql/item_strfunc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index aedc63164f2..ab2bf006032 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -695,7 +695,7 @@ public: void fix_length_and_dec() { ulonglong max_result_length= (ulonglong) args[0]->max_length * 2 + 2; - max_length= min(max_result_length, MAX_BLOB_WIDTH); + max_length= (uint32) min(max_result_length, MAX_BLOB_WIDTH); collation.set(args[0]->collation); } };