From d5d1be93cca2bb09880d0fb9ba36157ba2ae0adb Mon Sep 17 00:00:00 2001 From: Ricardo Quesada Date: Wed, 26 Aug 2015 10:16:50 -0700 Subject: [PATCH] make it compile on win32 --- cocos/renderer/CCVertexIndexData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/renderer/CCVertexIndexData.cpp b/cocos/renderer/CCVertexIndexData.cpp index 72807bec34..685c88f677 100644 --- a/cocos/renderer/CCVertexIndexData.cpp +++ b/cocos/renderer/CCVertexIndexData.cpp @@ -141,7 +141,7 @@ void VertexData::use() vertexStreamAttrib._type, vertexStreamAttrib._normalize, vertexBuffer->getSizePerVertex(), - (GLvoid*)((ssize_t)vertexStreamAttrib._offset)); + (GLvoid*)((long)vertexStreamAttrib._offset)); } }