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

Side by Side Diff: net/flip/flip_bitmasks.h

Issue 297015: linux: Fix signed vs unsigned issue (Closed)
Patch Set: Created 11 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_FLIP_FLIP_BITMASKS_H_ 5 #ifndef NET_FLIP_FLIP_BITMASKS_H_
6 #define NET_FLIP_FLIP_BITMASKS_H_ 6 #define NET_FLIP_FLIP_BITMASKS_H_
7 7
8 namespace flip { 8 namespace flip {
9 9
10 const int kStreamIdMask = 0x7fffffff; // StreamId mask from the FlipHeader 10 const unsigned int kStreamIdMask = 0x7fffffff; // StreamId mask from the FlipHe ader
11 const int kControlFlagMask = 0x8000; // Control flag mask from the FlipHeader 11 const unsigned int kControlFlagMask = 0x8000; // Control flag mask from the Fl ipHeader
12 const int kPriorityMask = 0xc0; // Priority mask from the SYN_FRAME 12 const unsigned int kPriorityMask = 0xc0; // Priority mask from the SYN_FR AME
13 const int kLengthMask = 0xffffff; // Mask the lower 24 bits. 13 const unsigned int kLengthMask = 0xffffff; // Mask the lower 24 bits.
14 14
15 } // flip 15 } // flip
16 16
17 #endif // NET_FLIP_FLIP_BITMASKS_H_ 17 #endif // NET_FLIP_FLIP_BITMASKS_H_
18
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698