Chromium Code Reviews

Unified Diff: core/cross/gl/utils_gl.cc

Issue 159168: This fixes a number of things that are warnings in the Mac compiler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: core/cross/gl/utils_gl.cc
===================================================================
--- core/cross/gl/utils_gl.cc (revision 21208)
+++ core/cross/gl/utils_gl.cc (working copy)
@@ -194,7 +194,7 @@
//
// TODO: make this a runtime provided value discovered during
// Renderer creation.
- const int kMaxAttrIndex = 15;
+ const unsigned int kMaxAttrIndex = 15u;
if (attr > kMaxAttrIndex) {
//TODO: Figure out how to get errors out of here to the client.
DLOG(ERROR) << "Invalid vertex attribute index.";

Powered by Google App Engine