[Mesa-dev] [PATCH 2/6] tgsi: fix type-mismatch warning
Marek Olšák
maraeo at gmail.com
Fri Feb 20 11:22:48 PST 2015
From: Marek Olšák <marek.olsak at amd.com>
---
src/gallium/auxiliary/tgsi/tgsi_text.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c
index 5069d13..b6b3585 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;
--
2.1.0
More information about the mesa-dev
mailing list