From ab947d2dd8219038ff6a71e5794a243cf1d1e314 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 20 Feb 2015 20:15:05 +0100 Subject: [PATCH] tgsi: fix type-mismatch warning Reviewed-by: Brian Paul --- 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.7.4