summaryrefslogtreecommitdiff
path: root/src/mesa/shader/lex.yy.c
diff options
context:
space:
mode:
authorPauli Nieminen <suokkos@gmail.com>2010-03-17 11:26:48 +0200
committerPauli Nieminen <suokkos@gmail.com>2010-03-17 11:26:48 +0200
commitf0f04cd12db156ec53b7ea46fae27199af121f90 (patch)
treefdf67a4fd47d4b12eec75aac85496420ca95dbd6 /src/mesa/shader/lex.yy.c
parente1ee3eaf6d739ddaa31bad1316e000c6220fa707 (diff)
parenta29c7948d965ad274ae7ac98fe01f2f877b19d94 (diff)
Merge branch '7.8' into master
Conflicts: Makefile src/mesa/main/version.h
Diffstat (limited to 'src/mesa/shader/lex.yy.c')
-rw-r--r--src/mesa/shader/lex.yy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/shader/lex.yy.c b/src/mesa/shader/lex.yy.c
index a08617ff8d..4c5c644a6e 100644
--- a/src/mesa/shader/lex.yy.c
+++ b/src/mesa/shader/lex.yy.c
@@ -2198,7 +2198,7 @@ case 142:
YY_RULE_SETUP
#line 326 "program_lexer.l"
{
- yylval->real = (float) _mesa_strtod(yytext, NULL);
+ yylval->real = _mesa_strtof(yytext, NULL);
return REAL;
}
YY_BREAK
@@ -2210,7 +2210,7 @@ YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 330 "program_lexer.l"
{
- yylval->real = (float) _mesa_strtod(yytext, NULL);
+ yylval->real = _mesa_strtof(yytext, NULL);
return REAL;
}
YY_BREAK
@@ -2218,7 +2218,7 @@ case 144:
YY_RULE_SETUP
#line 334 "program_lexer.l"
{
- yylval->real = (float) _mesa_strtod(yytext, NULL);
+ yylval->real = _mesa_strtof(yytext, NULL);
return REAL;
}
YY_BREAK
@@ -2226,7 +2226,7 @@ case 145:
YY_RULE_SETUP
#line 338 "program_lexer.l"
{
- yylval->real = (float) _mesa_strtod(yytext, NULL);
+ yylval->real = _mesa_strtof(yytext, NULL);
return REAL;
}
YY_BREAK