summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 01:16:59 +0000
committerbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 01:16:59 +0000
commitf5e016c30e87e7042c02d2e17844930b5f9d0164 (patch)
treeaf576193d55c836109076f5ef6b94606db5767e9 /o3d
parent252ece67b45f0537677a8a9b81c3651189b3fca0 (diff)
downloadchromium_src-f5e016c30e87e7042c02d2e17844930b5f9d0164.zip
chromium_src-f5e016c30e87e7042c02d2e17844930b5f9d0164.tar.gz
chromium_src-f5e016c30e87e7042c02d2e17844930b5f9d0164.tar.bz2
Fixing signed/unsigned compare warning failing under gyp build.
BUG=None TEST=None Review URL: http://codereview.chromium.org/165284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22995 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/core/cross/message_queue.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/o3d/core/cross/message_queue.cc b/o3d/core/cross/message_queue.cc
index 9b6e6bf..8cda470 100644
--- a/o3d/core/cross/message_queue.cc
+++ b/o3d/core/cross/message_queue.cc
@@ -664,9 +664,9 @@ bool MessageQueue::ProcessMessageUpdateTexture2DRect(
return false;
}
- unsigned int mip_width =
+ int mip_width =
image::ComputeMipDimension(message.level, texture_object->width());
- unsigned int mip_height =
+ int mip_height =
image::ComputeMipDimension(message.level, texture_object->height());
if (message.x < 0 || message.width < 0 ||