summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-22 22:07:22 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-24 21:23:08 +0900
commit83869ceab5b3faed8569a5ca752d4dc426db1aec (patch)
treead5abbec136b7da1ef4f2a851816890b7850db03 /src/gallium/auxiliary
parentb4ed6e9b1797a1e08c51c1ad30e0f78d9c6d8b95 (diff)
tgsi: Silent msvc warning.
Rather stupid warning: msvc is warning that converting from a 1bit structure bitfield to a unsigned char looses precision... /WX makes this an error.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/tgsi/util/tgsi_sanity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c b/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c
index 9673f061ce..2e3ec96b5b 100644
--- a/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c
+++ b/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c
@@ -198,7 +198,7 @@ iter_instruction(
inst->FullSrcRegisters[i].SrcRegister.File,
inst->FullSrcRegisters[i].SrcRegister.Index,
"source",
- inst->FullSrcRegisters[i].SrcRegister.Indirect );
+ (boolean)inst->FullSrcRegisters[i].SrcRegister.Indirect );
if (inst->FullSrcRegisters[i].SrcRegister.Indirect) {
uint file;
int index;