Repository: trafficserver Updated Branches: refs/heads/6.1.x 3bd21f97b -> 012c68c5d
TS-4142: use uint32_t in preference to non-standard u_int32_t This closes #428. (cherry picked from commit 1ef6ff766c2cef8632e7b77d4a03aa378883ebc5) Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/012c68c5 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/012c68c5 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/012c68c5 Branch: refs/heads/6.1.x Commit: 012c68c5dfdbdf67a52557d443bc970745fef01c Parents: 3bd21f9 Author: Leif Hedstrom <[email protected]> Authored: Sun Jan 17 16:13:02 2016 -0700 Committer: Leif Hedstrom <[email protected]> Committed: Mon Feb 1 16:10:07 2016 -0700 ---------------------------------------------------------------------- lib/ts/ContFlags.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/012c68c5/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();
