Commit 861bf3c8 authored by monty@mysql.com's avatar monty@mysql.com

Portability fix

parent a6ba9f3c
......@@ -211,8 +211,7 @@ class Geometry
virtual int geometry_n(uint32 num, String *result) const { return -1; }
public:
static Geometry *Geometry::create_by_typeid(Geometry_buffer *buffer,
int type_id)
static Geometry *create_by_typeid(Geometry_buffer *buffer, int type_id)
{
Class_info *ci;
if (!(ci= find_class((int) type_id)))
......@@ -251,7 +250,7 @@ class Geometry
}
bool envelope(String *result) const;
static Geometry::Class_info *ci_collection[Geometry::wkb_end+1];
static Class_info *ci_collection[wkb_end+1];
protected:
static Class_info *find_class(int type_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment