i915g: silence a const pointer warning

This commit is contained in:
Brian Paul 2012-08-04 08:30:15 -06:00
parent f9a498d1bc
commit a5ca29100b

View file

@ -677,7 +677,7 @@ static void i915_set_constant_buffer(struct pipe_context *pipe,
return;
if (cb && cb->user_buffer) {
buf = i915_user_buffer_create(pipe->screen, cb->user_buffer,
buf = i915_user_buffer_create(pipe->screen, (void *) cb->user_buffer,
cb->buffer_size,
PIPE_BIND_CONSTANT_BUFFER);
}