summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index e68c882ba3e..6d8f5353695 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -140,7 +140,7 @@ public:
void fix_length_and_dec();
uint cols();
- Item* el(uint i) { return (Item*)row[i]; }
+ Item* el(uint i) { return my_reinterpret_cast(Item*)(row[i]); }
Item** addr(uint i) { return (Item**)row + i; }
bool check_cols(uint c);
bool null_inside();