summaryrefslogtreecommitdiffstats
path: root/src/glx/glx_error.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-12-12 09:48:29 -0800
committerIan Romanick <[email protected]>2011-12-19 14:55:31 -0800
commitb1ffb3335f629ed43bde44cee789dc9cdb35c306 (patch)
treee4c44c735600d587e4101e7515da0218c52c0878 /src/glx/glx_error.c
parent6f76efa9224f6a1cbe35f419172549abafdd751e (diff)
glx: Make parameter types for __glXSendError match protocol types
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Adam Jackson <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Cc: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/glx/glx_error.c')
-rw-r--r--src/glx/glx_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/glx_error.c b/src/glx/glx_error.c
index d44a80ca659..0855c35951a 100644
--- a/src/glx/glx_error.c
+++ b/src/glx/glx_error.c
@@ -35,8 +35,8 @@
#include "glx_error.h"
void
-__glXSendError(Display * dpy, int errorCode, unsigned long resourceID,
- unsigned long minorCode, bool coreX11error)
+__glXSendError(Display * dpy, int_fast8_t errorCode, uint_fast32_t resourceID,
+ uint_fast16_t minorCode, bool coreX11error)
{
struct glx_display *glx_dpy = __glXInitialize(dpy);
struct glx_context *gc = __glXGetCurrentContext();