tgsi: fix type-mismatch warning
authorMarek Olšák <marek.olsak@amd.com>
Fri, 20 Feb 2015 19:15:05 +0000 (20:15 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 20 Feb 2015 23:16:34 +0000 (00:16 +0100)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_text.c

index 5069d13a1db0625c875fea55de05e4287033a189..b6b3585d561b06bb857b43ff7e02f27a90f8da5e 100644 (file)
@@ -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;