diff --git a/glhr.cpp b/glhr.cpp index e23d454f..7fa5e7b8 100644 --- a/glhr.cpp +++ b/glhr.cpp @@ -625,7 +625,7 @@ void init() { printf("Failed to initialize GLEW\n"); return; } - printf("CreateProgram = %p\n", __glewCreateProgram); + printf("CreateProgram = %p\n", reinterpret_cast(__glewCreateProgram)); if(!__glewCreateProgram) noshaders = true; } #endif