From: Marek Olšák Date: Fri, 20 Feb 2015 19:15:05 +0000 (+0100) Subject: tgsi: fix type-mismatch warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab947d2dd8219038ff6a71e5794a243cf1d1e314;p=mesa.git tgsi: fix type-mismatch warning Reviewed-by: Brian Paul --- 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;