// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef NET_FLIP_FLIP_BITMASKS_H_
#define NET_FLIP_FLIP_BITMASKS_H_

namespace flip {

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_

// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef NET_FLIP_FLIP_BITMASKS_H_
#define NET_FLIP_FLIP_BITMASKS_H_

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.

}  // flip

#endif  // 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_
-
linux: Fix signed vs unsigned issue

Review URL: http://codereview.chromium.org/297015

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@30099 0039d316-1c4b-4281-b951-d872f2087c98
