diff options
author | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 23:26:51 +0000 |
---|---|---|
committer | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 23:26:51 +0000 |
commit | c0cd0ab81f0ba15406e57c210eec0e58a9695b28 (patch) | |
tree | 7022d8c8f6a068ca82e59a312cf735a3667dad9c | |
parent | 33dc8fa07256578d33459d4433dbaf613dec62c7 (diff) | |
download | chromium_src-c0cd0ab81f0ba15406e57c210eec0e58a9695b28.zip chromium_src-c0cd0ab81f0ba15406e57c210eec0e58a9695b28.tar.gz chromium_src-c0cd0ab81f0ba15406e57c210eec0e58a9695b28.tar.bz2 |
Fixing signed/unsigned mismatch warning showing up in gyp build.
BUG=None
TEST=None
TBR=gman
Review URL: http://codereview.chromium.org/248026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27431 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | o3d/command_buffer/common/cross/cmd_buffer_format.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/o3d/command_buffer/common/cross/cmd_buffer_format.h b/o3d/command_buffer/common/cross/cmd_buffer_format.h index 2b819b5..b9d7de6 100644 --- a/o3d/command_buffer/common/cross/cmd_buffer_format.h +++ b/o3d/command_buffer/common/cross/cmd_buffer_format.h @@ -179,8 +179,8 @@ struct CommandHeader { 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; } |