Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: command_buffer/service/cross/gl/geometry_gl.cc

Issue 231027: Fixed some warnings. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « command_buffer/service/cross/gl/effect_gl.cc ('k') | command_buffer/service/cross/gl/sampler_gl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: command_buffer/service/cross/gl/geometry_gl.cc
===================================================================
--- command_buffer/service/cross/gl/geometry_gl.cc (revision 27098)
+++ command_buffer/service/cross/gl/geometry_gl.cc (working copy)
@@ -242,10 +242,10 @@
DCHECK_EQ(semantic_index, 0);
return 2;
case vertex_struct::COLOR:
- DCHECK_LT(semantic_index, 2);
+ DCHECK_LT(semantic_index, 2U);
return 3 + semantic_index;
case vertex_struct::TEX_COORD:
- DCHECK_LT(semantic_index, 8);
+ DCHECK_LT(semantic_index, 8U);
return 8 + semantic_index;
default:
DLOG(FATAL) << "Not reached.";
« no previous file with comments | « command_buffer/service/cross/gl/effect_gl.cc ('k') | command_buffer/service/cross/gl/sampler_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698