From 3409118371b26b534ea64a96ae051392691769f7 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 27 Jan 2012 21:54:12 +0000 Subject: mesa: Avoid void * arithmetic. Should fix MSVC build. --- src/mesa/main/bufferobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); -- cgit v1.2.3