X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fparser.cpp;h=4e8ff97aa894864632fcb47e044b3102d04b9f70;hb=241cf36a6d7735706804bb3c517529bbe078f1ee;hp=cc0233eab702b468704cc2b9b8703e383aeee813;hpb=e9a898f315b5d1396f196d785913a283c30940f2;p=libs%2Fgl.git diff --git a/source/glsl/parser.cpp b/source/glsl/parser.cpp index cc0233ea..4e8ff97a 100644 --- a/source/glsl/parser.cpp +++ b/source/glsl/parser.cpp @@ -194,7 +194,7 @@ bool Parser::is_type(const string &token) bool Parser::is_identifier(const string &token) { static Regex re("^[a-zA-Z_][a-zA-Z0-9_]*$"); - return re.match(token); + return static_cast(re.match(token)); } template