projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f273ec
)
tgsi: fix type-mismatch warning
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 20 Feb 2015 19:15:05 +0000
(20:15 +0100)
committer
Marek 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
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_text.c
b/src/gallium/auxiliary/tgsi/tgsi_text.c
index 5069d13a1db0625c875fea55de05e4287033a189..b6b3585d561b06bb857b43ff7e02f27a90f8da5e 100644
(file)
--- 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;