summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-02-20 20:15:05 +0100
committerMarek Olšák <[email protected]>2015-02-21 00:16:34 +0100
commitab947d2dd8219038ff6a71e5794a243cf1d1e314 (patch)
treeb3c44165c7dab8610d27623bd43e7765296dc6cf /src/gallium
parent6f273ec408b794d1d8969ec52a5952c9babc1c52 (diff)
tgsi: fix type-mismatch warning
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c
index 5069d13a1db..b6b3585d561 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_text.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_text.c
@@ -240,7 +240,7 @@ static boolean parse_double( const char **pcur, uint32_t *val0, uint32_t *val1)
uint32_t uval[2];
} v;
- v.dval = strtod(cur, pcur);
+ v.dval = strtod(cur, (char**)pcur);
if (*pcur == cur)
return FALSE;