Skip to content

Commit

Permalink
Fix debug standalone build warning on MSVS 2015
Browse files Browse the repository at this point in the history
Fixes signed/unsigned mismatch due to missing type cast inside an
assert.

BUG=angleproject:1382
TEST=standalone MSVS 2015 debug build

Change-Id: I1508b54a2608e9204ad582bde4bd62af6926c36e
Reviewed-on: https://chromium-review.googlesource.com/360921
Reviewed-by: Olli Etuaho <oetuaho@nvidia.com>
Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
  • Loading branch information
Olli Etuaho authored and Commit Bot committed Jul 18, 2016
1 parent 0d95925 commit e319171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libANGLE/renderer/gl/ProgramGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ void ProgramGL::postLink()
kQueryProperties, static_cast<GLsizei>(ArraySize(queryResults)), &queryLength,
queryResults);

ASSERT(queryLength == ArraySize(kQueryProperties));
ASSERT(queryLength == static_cast<GLsizei>(ArraySize(kQueryProperties)));

PathRenderingFragmentInput baseElementInput;
baseElementInput.name = name;
Expand Down

0 comments on commit e319171

Please sign in to comment.