summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
Diffstat (limited to 'o3d')
-rw-r--r--o3d/command_buffer/common/cross/cmd_buffer_format.h4
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;
}