Index: gpu/gles2_conform_support/egl/egl.cc |
diff --git a/gpu/gles2_conform_support/egl/egl.cc b/gpu/gles2_conform_support/egl/egl.cc |
index f23cf76e994b719fe4c6bf7809cc7c349db4770e..b777f236f5d4e9e9bfdf39e68ff69eb756dddfdc 100644 |
--- a/gpu/gles2_conform_support/egl/egl.cc |
+++ b/gpu/gles2_conform_support/egl/egl.cc |
@@ -399,6 +399,7 @@ EGLBoolean eglCopyBuffers(EGLDisplay dpy, |
/* Now, define eglGetProcAddress using the generic function ptr. type */ |
__eglMustCastToProperFunctionPointerType |
eglGetProcAddress(const char* procname) { |
- return gles2::GetGLFunctionPointer(procname); |
+ return reinterpret_cast<__eglMustCastToProperFunctionPointerType>( |
+ gles2::GetGLFunctionPointer(procname)); |
} |
} // extern "C" |