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

Unified Diff: core/cross/message_queue.cc

Issue 159168: This fixes a number of things that are warnings in the Mac compiler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 5 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
Index: core/cross/message_queue.cc
===================================================================
--- core/cross/message_queue.cc (revision 21208)
+++ core/cross/message_queue.cc (working copy)
@@ -296,7 +296,7 @@
#endif
// Valid messages must always contain at least the ID of the message
- if (message_length >= sizeof(*message_id)) {
+ if (message_length >= static_cast<int>(sizeof(*message_id))) {
// Check if the incoming message requires more space than we have
// currently allocated.
if (header->flags & nacl::kMessageTruncated) {
« core/cross/bitmap_dds.cc ('K') | « core/cross/gl/utils_gl.cc ('k') | core/cross/pack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698