From: Brian Paul Date: Thu, 1 May 2008 21:21:40 +0000 (-0600) Subject: added cast for MSVC X-Git-Tag: 062012170305~17580^2~390^2~1540^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc4952987419d77fabbf4fa43913f6e488bdb211;p=profile%2Fivi%2Fmesa.git added cast for MSVC --- diff --git a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c index 54fdcc1..73ee419 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c +++ b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c @@ -256,7 +256,7 @@ pstip_transform_inst(struct tgsi_transform_context *ctx, uint size = 4; immed = tgsi_default_full_immediate(); immed.Immediate.Size = 1 + size; /* one for the token itself */ - immed.u.Pointer = value; + immed.u.Pointer = (void *) value; ctx->emit_immediate(ctx, &immed); }