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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/flip/flip_bitmasks.h
diff --git a/net/flip/flip_bitmasks.h b/net/flip/flip_bitmasks.h
index 3123da79788d40f893dd8c880a0e538e65a98f8d..35e7126968902831bd1e17b5a80bc6d5ad927988 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_
-
« 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