summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-05-01 15:21:40 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-05-01 15:21:40 -0600
commitbc4952987419d77fabbf4fa43913f6e488bdb211 (patch)
tree6cf4ae783c7508dbfcf2f7ea959daeec6536e903 /src
parentc1abd758c51247ebaf3d4808a77513d7814205cd (diff)
added cast for MSVC
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_pstipple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
index 54fdcc1a3b..73ee419858 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);
}