diff options
author | pem@mysql.comhem.se <> | 2004-05-06 19:55:12 +0200 |
---|---|---|
committer | pem@mysql.comhem.se <> | 2004-05-06 19:55:12 +0200 |
commit | d02d10591698244c4575323cade4ec15939521e5 (patch) | |
tree | 125d3ae1ebe314b07915ef4518ed9cd47dde7444 /sql/spatial.h | |
parent | 57feb6625a66aa238b741d419b89b94e46f456b0 (diff) | |
download | mariadb-git-d02d10591698244c4575323cade4ec15939521e5.tar.gz |
Fixed (portability) bug in handler.h, and tried to silence cast warnings on some platforms.
Diffstat (limited to 'sql/spatial.h')
-rw-r--r-- | sql/spatial.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/spatial.h b/sql/spatial.h index cf07b364bb3..cc1cc70f1bc 100644 --- a/sql/spatial.h +++ b/sql/spatial.h @@ -217,7 +217,7 @@ public: if (!(ci= find_class((int) type_id))) return NULL; (*ci->m_create_func)((void *)buffer); - return (Geometry *)buffer; + return my_reinterpret_cast(Geometry *)(buffer); } static Geometry *create_from_wkb(Geometry_buffer *buffer, |