From b52e6b30f13514f414c6658adf91632531e505ee Mon Sep 17 00:00:00 2001 From: "gspencer@google.com" Date: Thu, 17 Sep 2009 22:16:40 +0000 Subject: This updates the DEPS for V8, Chrome and NaCl. It also fixes two other minor problems: a signed/unsigned mismatch in the gapi_decoder, and a switch from sys.argv[0] to __file__ in codegen.py. Review URL: http://codereview.chromium.org/208015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26504 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/command_buffer/service/cross/gapi_decoder.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'o3d/command_buffer/service') diff --git a/o3d/command_buffer/service/cross/gapi_decoder.cc b/o3d/command_buffer/service/cross/gapi_decoder.cc index 47a3418..aa9f019 100644 --- a/o3d/command_buffer/service/cross/gapi_decoder.cc +++ b/o3d/command_buffer/service/cross/gapi_decoder.cc @@ -86,8 +86,9 @@ BufferSyncInterface::ParseError GAPIDecoder::DoCommand( const void* args) { if (command < arraysize(g_command_info)) { const CommandInfo& info = g_command_info[command]; - if ((info.arg_flags == cmd::kFixed && arg_count == info.arg_count) || - (info.arg_flags == cmd::kAtLeastN && arg_count > info.arg_count)) { + unsigned int info_arg_count = static_cast(info.arg_count); + if ((info.arg_flags == cmd::kFixed && arg_count == info_arg_count) || + (info.arg_flags == cmd::kAtLeastN && arg_count > info_arg_count)) { switch (command) { #define O3D_COMMAND_BUFFER_CMD_OP(name) \ case cmd::name::kCmdId: \ -- cgit v1.1