Commit d91136ad by kbr@chromium.org

Fixed one remaining 64-bit truncation issue missed in the last CL.

BUG=396 Review URL: https://codereview.appspot.com/7323055 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1827 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 8e77853d
#define MAJOR_VERSION 1
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 1826
#define BUILD_REVISION 1827
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
......
......@@ -4479,7 +4479,7 @@ yyreduce:
// knows where to find parameters.
//
TIntermAggregate* paramNodes = new TIntermAggregate;
for (int i = 0; i < function->getParamCount(); i++) {
for (size_t i = 0; i < function->getParamCount(); i++) {
const TParameter& param = function->getParam(i);
if (param.name != 0) {
TVariable *variable = new TVariable(param.name, *param.type);
......@@ -4755,5 +4755,3 @@ yyreturn:
int glslang_parse(TParseContext* context) {
return yyparse(context);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment