Repository: trafficserver
Updated Branches:
  refs/heads/master 408933a7c -> 42534a43a


TS-4142: use uint32_t in preference to non-standard u_int32_t

This closes #428.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1ef6ff76
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1ef6ff76
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1ef6ff76

Branch: refs/heads/master
Commit: 1ef6ff766c2cef8632e7b77d4a03aa378883ebc5
Parents: 408933a
Author: Leif Hedstrom <[email protected]>
Authored: Sun Jan 17 16:13:02 2016 -0700
Committer: James Peach <[email protected]>
Committed: Sun Jan 17 15:22:20 2016 -0800

----------------------------------------------------------------------
 lib/ts/ContFlags.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1ef6ff76/lib/ts/ContFlags.h
----------------------------------------------------------------------
diff --git a/lib/ts/ContFlags.h b/lib/ts/ContFlags.h
index f581c81..8e57cec 100644
--- a/lib/ts/ContFlags.h
+++ b/lib/ts/ContFlags.h
@@ -43,9 +43,9 @@ public:
   enum flags { DEBUG_OVERRIDE = 0, DISABLE_PLUGINS = 1, LAST_FLAG };
 
   ContFlags() : raw_flags(0) {}
-  ContFlags(u_int32_t in_flags) : raw_flags(in_flags) {}
+  ContFlags(uint32_t in_flags) : raw_flags(in_flags) {}
   void
-  set_flags(u_int32_t new_flags)
+  set_flags(uint32_t new_flags)
   {
     raw_flags = new_flags;
   }
@@ -55,7 +55,7 @@ public:
     return *this;
   }
 
-  u_int32_t
+  uint32_t
   get_flags() const
   {
     return raw_flags;
@@ -81,7 +81,7 @@ public:
   }
 
 private:
-  u_int32_t raw_flags;
+  uint32_t raw_flags;
 };
 
 void init_cont_flags();

Reply via email to