Commit 7a9dfdb9 authored by unknown's avatar unknown

Portability fix

parent 20efa2f9
...@@ -211,8 +211,7 @@ class Geometry ...@@ -211,8 +211,7 @@ class Geometry
virtual int geometry_n(uint32 num, String *result) const { return -1; } virtual int geometry_n(uint32 num, String *result) const { return -1; }
public: public:
static Geometry *Geometry::create_by_typeid(Geometry_buffer *buffer, static Geometry *create_by_typeid(Geometry_buffer *buffer, int type_id)
int type_id)
{ {
Class_info *ci; Class_info *ci;
if (!(ci= find_class((int) type_id))) if (!(ci= find_class((int) type_id)))
...@@ -251,7 +250,7 @@ class Geometry ...@@ -251,7 +250,7 @@ class Geometry
} }
bool envelope(String *result) const; bool envelope(String *result) const;
static Geometry::Class_info *ci_collection[Geometry::wkb_end+1]; static Class_info *ci_collection[wkb_end+1];
protected: protected:
static Class_info *find_class(int type_id) 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