diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 14b461b1ee7..55d760e34ae 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -87,7 +87,7 @@ intelMapScreenRegions(__DRIscreenPrivate *sPriv) * the renderbuffer address to point to the beginning of the * renderbuffer. */ - intelScreen->front.map = sPriv->pFB; + intelScreen->front.map = (char *)sPriv->pFB; if (intelScreen->front.map == NULL) { fprintf(stderr, "Failed to find framebuffer mapping\n"); return GL_FALSE; |