From d6bcfa33134d7b804bebf15fe80089c451ab51fb Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Thu, 18 Jul 2013 18:33:39 +0000 Subject: [PATCH] Fix for Ubuntu compiler complaint git-svn-id: http://skia.googlecode.com/svn/trunk@10151 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/gl/GrGLCreateNullInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/gl/GrGLCreateNullInterface.cpp b/src/gpu/gl/GrGLCreateNullInterface.cpp index bca02eb..76307e4 100644 --- a/src/gpu/gl/GrGLCreateNullInterface.cpp +++ b/src/gpu/gl/GrGLCreateNullInterface.cpp @@ -91,7 +91,7 @@ static void delete_buffer(GrBufferObj* buffer) { // Add this slot to the free list gBuffers[id] = gBuffers[0]; - gBuffers[0] = SkTCast((const void*) id); + gBuffers[0] = SkTCast((const void*)(intptr_t)id); } GrGLvoid GR_GL_FUNCTION_TYPE nullGLActiveTexture(GrGLenum texture) {} -- 2.7.4