Commit 1f2609d1 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'fix-clang-warning-gnuext' into 'master'

Fix clang warning by avoiding GNU extension.

See merge request !56
parents a4074a38 9b0b68d0
...@@ -151,7 +151,7 @@ public: ...@@ -151,7 +151,7 @@ public:
char* offset(unsigned int _offset) const char* offset(unsigned int _offset) const
{ {
return ((char*)NULL + _offset); return reinterpret_cast<char*>(_offset);
} }
GLuint id() const {return vbo;} GLuint id() const {return vbo;}
......
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