diff options
author | unknown <pem@mysql.comhem.se> | 2004-05-06 19:55:12 +0200 |
---|---|---|
committer | unknown <pem@mysql.comhem.se> | 2004-05-06 19:55:12 +0200 |
commit | b220b9768e5fc36c3e7ede4ce6d77187e2e346d7 (patch) | |
tree | 125d3ae1ebe314b07915ef4518ed9cd47dde7444 /sql/item_subselect.h | |
parent | a7828752bd673d7a7e35e3bb32e530973468adc2 (diff) | |
download | mariadb-git-b220b9768e5fc36c3e7ede4ce6d77187e2e346d7.tar.gz |
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.
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 2 |
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(); |