Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(49)

Unified Diff: liboslcomp/osllex.l

Issue 193074: Fix errors and warnings from g++-4.4.1 Base URL: http://openshadinglanguage.googlecode.com/svn/trunk/
Patch Set: Created 14 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « liboslcomp/oslcomp.cpp ('k') | liboslcomp/symtab.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: liboslcomp/osllex.l
===================================================================
--- liboslcomp/osllex.l (revision 542)
+++ liboslcomp/osllex.l (working copy)
@@ -257,7 +257,7 @@
int line = atoi (yytext+1);
if (line > 0) {
oslcompiler->lineno (line);
- char *f = strchr (yytext, '\"');
+ const char *f = strchr (yytext, '\"');
if (f) {
++f; // increment to past the quote
int len = 0; // count of chars within quotes
« no previous file with comments | « liboslcomp/oslcomp.cpp ('k') | liboslcomp/symtab.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b