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

Unified Diff: command_buffer/common/cross/cmd_buffer_format.h

Issue 248026: Fixing signed/unsigned mismatch warning showing up in gyp build.... (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: command_buffer/common/cross/cmd_buffer_format.h
===================================================================
--- command_buffer/common/cross/cmd_buffer_format.h (revision 27417)
+++ command_buffer/common/cross/cmd_buffer_format.h (working copy)
@@ -179,8 +179,8 @@
Uint32 command:24;
void Init(uint32 _command, uint32 _size) {
- DCHECK_LT(_size, 256);
- DCHECK_LT(_command, static_cast<int>(kNumCommands));
+ DCHECK_LT(_size, 256u);
+ DCHECK_LT(_command, static_cast<unsigned int>(kNumCommands));
command = _command;
size = _size;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698