From 49d8436a2b84d7bd90fc76c17b723ad5c89772a7 Mon Sep 17 00:00:00 2001 From: "piman@chromium.org" Date: Mon, 26 Oct 2009 21:33:30 +0000 Subject: linux: Fix signed vs unsigned issue Review URL: http://codereview.chromium.org/297015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30099 0039d316-1c4b-4281-b951-d872f2087c98 --- net/flip/flip_bitmasks.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'net') diff --git a/net/flip/flip_bitmasks.h b/net/flip/flip_bitmasks.h index 3123da7..35e7126 100644 --- a/net/flip/flip_bitmasks.h +++ b/net/flip/flip_bitmasks.h @@ -7,12 +7,11 @@ namespace flip { -const int kStreamIdMask = 0x7fffffff; // StreamId mask from the FlipHeader -const int kControlFlagMask = 0x8000; // Control flag mask from the FlipHeader -const int kPriorityMask = 0xc0; // Priority mask from the SYN_FRAME -const int kLengthMask = 0xffffff; // Mask the lower 24 bits. +const unsigned int kStreamIdMask = 0x7fffffff; // StreamId mask from the FlipHeader +const unsigned int kControlFlagMask = 0x8000; // Control flag mask from the FlipHeader +const unsigned int kPriorityMask = 0xc0; // Priority mask from the SYN_FRAME +const unsigned int kLengthMask = 0xffffff; // Mask the lower 24 bits. } // flip #endif // NET_FLIP_FLIP_BITMASKS_H_ - -- cgit v1.1