From 5bce5f88d948dc675fbe6c9a5201e4613996c743 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Mon, 7 Jan 2013 12:55:05 +0100 Subject: [PATCH] Use the correct type for GLintptr On 32bit, intptr_t has a different type than khronos_intptr_t. https://bugzilla.gnome.org/show_bug.cgi?id=691296 (cherry picked from commit a77222385812a696a999a871cde439f50b648f69) --- cogl/cogl-gles2-types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/cogl-gles2-types.h b/cogl/cogl-gles2-types.h index 9f6d097b8..8f41bf8a7 100644 --- a/cogl/cogl-gles2-types.h +++ b/cogl/cogl-gles2-types.h @@ -35,7 +35,7 @@ typedef float GLclampf; typedef int32_t GLfixed; /* GL types for handling large vertex buffer objects */ -typedef intptr_t GLintptr; +typedef signed long int GLintptr; typedef long GLsizeiptr; /* OpenGL ES core versions */