diff options
author | Michel Dänzer <[email protected]> | 2007-10-30 17:47:17 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2007-10-30 17:58:50 +0100 |
commit | d2f19a554a9089fddb5e978e3a732bbf71d77f93 (patch) | |
tree | 891d813900907dcf65872c9b150f74b9f461c3f7 /src/glx/x11/glxext.c | |
parent | a7f64635a640f49011cf78af766f90ae6588989a (diff) |
Fix some build warnings, mostly with XCB.
Diffstat (limited to 'src/glx/x11/glxext.c')
-rw-r--r-- | src/glx/x11/glxext.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index 4b78ca85c68..4fcf6e5df07 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -1361,7 +1361,8 @@ GLubyte *__glXFlushRenderBuffer(__GLXcontext *ctx, GLubyte *pc) if ( (dpy != NULL) && (size > 0) ) { #ifdef USE_XCB - xcb_glx_render(c, ctx->currentContextTag, size, (char *)ctx->buf); + xcb_glx_render(c, ctx->currentContextTag, size, + (const uint8_t *)ctx->buf); #else /* Send the entire buffer as an X request */ LockDisplay(dpy); |