From b518af11e5c0b66157e9ca624f6404152deffb66 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 Mar 2017 00:15:41 +0300 Subject: Fix warning in nacl build. --- src/render/nacl/naclgles.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/render/nacl/naclgles.cpp b/src/render/nacl/naclgles.cpp index 90cd9b8c3..de80683ea 100644 --- a/src/render/nacl/naclgles.cpp +++ b/src/render/nacl/naclgles.cpp @@ -47,7 +47,9 @@ void NaclGles::initGles() PSGetInterface(PPB_GRAPHICS_3D_INTERFACE_1_0)); gles2Context = glGetCurrentContextPPAPI(); - logger->log("InitGles: %p, %d", gles2Interface, gles2Context); + logger->log("InitGles: %p, %d", + static_cast(gles2Interface), + gles2Context); } #endif // defined(__native_client__) && defined(USE_OPENGL) -- cgit v1.2.3-70-g09d2