Commit 17f8d3d7 authored by unknown's avatar unknown

Portability fix

parent 0952bf2d
...@@ -211,8 +211,7 @@ public: ...@@ -211,8 +211,7 @@ public:
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 @@ public: ...@@ -251,7 +250,7 @@ public:
} }
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