added cast for MSVC

This commit is contained in:
Brian Paul 2008-05-01 15:21:40 -06:00
parent c1abd758c5
commit bc49529874

View 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);
}