summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-10-08 15:34:39 +0300
committerunknown <bell@sanja.is.com.ua>2002-10-08 15:34:39 +0300
commit58dc03066c8b8c38cdfa47e1f3c99ee002551b4f (patch)
tree9bfa8b366802afd9a46ad572ee9df668ab0f8a7e
parente8e3f7728fbe66f75b328a56a48059552b0bea15 (diff)
downloadmariadb-git-58dc03066c8b8c38cdfa47e1f3c99ee002551b4f.tar.gz
removed compiler warnings
-rw-r--r--sql/item.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 6da53b98657..a0cb6f46f06 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -795,7 +795,7 @@ bool Item_ref::fix_fields(THD *thd,TABLE_LIST *tables, Item **reference)
{
if ((ref= find_item_in_list(this, thd->lex.select->item_list,
REPORT_EXCEPT_NOT_FOUND)) ==
- not_found_item)
+ (Item **)not_found_item)
{
/*
We can't find table field in table list of current select,
@@ -812,14 +812,14 @@ bool Item_ref::fix_fields(THD *thd,TABLE_LIST *tables, Item **reference)
sl= sl->outer_select())
if((ref= find_item_in_list(this, (last= sl)->item_list,
REPORT_EXCEPT_NOT_FOUND)) !=
- not_found_item)
+ (Item **)not_found_item)
break;
if (!ref)
{
return 1;
}
- else if (ref == not_found_item)
+ else if (ref == (Item **)not_found_item)
{
// Call to report error
find_item_in_list(this, thd->lex.select->item_list, REPORT_ALL_ERRORS);