]> git.tdb.fi Git - libs/gl.git/blobdiff - source/extension.cpp
Get rid of the typedefs for fundamental types
[libs/gl.git] / source / extension.cpp
index cd8c6297759d57494d8f372276e8a467a6d12d85..6b00ceb6cf8174edbc4ddee06d0df82071ab3d89 100644 (file)
@@ -100,7 +100,7 @@ void require_version(unsigned a, unsigned b)
 ExtFunc *get_proc_address(const string &name)
 {
 #ifndef WIN32
-       return glXGetProcAddressARB(reinterpret_cast<const GLubyte *>(name.c_str()));
+       return glXGetProcAddressARB(reinterpret_cast<const unsigned char *>(name.c_str()));
 #else
        return reinterpret_cast<ExtFunc *>(wglGetProcAddress(name.c_str()));
 #endif