From 526569690e1d0d89d91359df1334b2ffba204a02 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 6 May 2004 19:55:12 +0200 Subject: Fixed (portability) bug in handler.h, and tried to silence cast warnings on some platforms. sql/handler.h: Fixed (portability) bug. No qualified method names in the class definition. sql/item_cmpfunc.h: Attempt to silence cast warnings on some platforms. sql/item_subselect.h: Attempt to silence cast warnings on some platforms. sql/set_var.cc: Silence warning (missing cast). sql/spatial.h: Attempt to silence cast warnings on some platforms. sql/sql_cache.cc: Silence warning (wrong cast). sql/sql_lex.h: Attempt to silence cast warnings on some platforms. --- sql/item_cmpfunc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sql/item_cmpfunc.h') diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index d654bec4f4e..ef80c060c03 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -96,7 +96,8 @@ protected: bool save_cache; public: Item_in_optimizer(Item *a, Item_in_subselect *b): - Item_bool_func(a, (Item *)b), cache(0), save_cache(0) {} + Item_bool_func(a, my_reinterpret_cast(Item *)(b)), cache(0), save_cache(0) + {} bool fix_fields(THD *, struct st_table_list *, Item **); bool fix_left(THD *thd, struct st_table_list *tables, Item **ref); bool is_null(); -- cgit v1.2.1