From: Brian Paul Date: Thu, 1 May 2008 21:21:40 +0000 (-0600) Subject: added cast for MSVC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc4952987419d77fabbf4fa43913f6e488bdb211;p=mesa.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 54fdcc1a3ba..73ee4198580 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); }