From: José Fonseca Date: Fri, 27 Jan 2012 21:54:12 +0000 (+0000) Subject: mesa: Avoid void * arithmetic. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3409118371b26b534ea64a96ae051392691769f7;p=mesa.git mesa: Avoid void * arithmetic. Should fix MSVC build. --- diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index e4f964f1826..85ad9b55c84 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -520,7 +520,7 @@ _mesa_copy_buffer_subdata(struct gl_context *ctx, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { - void *srcPtr, *dstPtr; + GLubyte *srcPtr, *dstPtr; /* the buffers should not be mapped */ assert(!_mesa_bufferobj_mapped(src));