added cast for MSVC
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 1 May 2008 21:21:40 +0000 (15:21 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 1 May 2008 21:21:40 +0000 (15:21 -0600)
src/gallium/auxiliary/draw/draw_pipe_pstipple.c

index 54fdcc1a3bad6f45f4a705d8d191ae0a37531ed6..73ee41985802ba82d43906c44b75c30fde2da56a 100644 (file)
@@ -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);
       }