diff options
author | Michal Krol <[email protected]> | 2008-05-02 10:20:53 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2008-05-02 10:20:53 +0200 |
commit | 36f93c5e5159ebd99a5a4504efccdf6c5bf40716 (patch) | |
tree | 0fd50dfcbce3201378e7ba8ecb13fb4690aff1cc /src/gallium/auxiliary/tgsi | |
parent | 9d151a2517de3f83d676624a21b4f73d5accecbe (diff) |
tgsi: Fix build on Win32.
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/util/tgsi_parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_parse.c b/src/gallium/auxiliary/tgsi/util/tgsi_parse.c index c3526cb71ff..5bea7738401 100644 --- a/src/gallium/auxiliary/tgsi/util/tgsi_parse.c +++ b/src/gallium/auxiliary/tgsi/util/tgsi_parse.c @@ -43,7 +43,7 @@ tgsi_full_token_free( union tgsi_full_token *full_token ) { if( full_token->Token.Type == TGSI_TOKEN_TYPE_IMMEDIATE ) { - FREE( full_token->FullImmediate.u.Pointer ); + FREE( (void *) full_token->FullImmediate.u.Pointer ); } } @@ -156,7 +156,7 @@ tgsi_parse_token( imm->u.Pointer = MALLOC( sizeof( struct tgsi_immediate_float32 ) * (imm->Immediate.Size - 1) ); for( i = 0; i < imm->Immediate.Size - 1; i++ ) { - next_token( ctx, &imm->u.ImmediateFloat32[i] ); + next_token( ctx, (struct tgsi_immediate_float32 *) &imm->u.ImmediateFloat32[i] ); } break; |