improve printing of window scale option
authorTom Henderson <tomh@tomh.org>
Thu, 11 Sep 2014 17:29:21 -0700
changeset 10928 6544f0a87edf
parent 10927 cbf9bcd55e61
child 10929 26baa6fb3a88
improve printing of window scale option
src/internet/model/tcp-option-winscale.cc
--- a/src/internet/model/tcp-option-winscale.cc	Thu Sep 11 17:22:58 2014 -0700
+++ b/src/internet/model/tcp-option-winscale.cc	Thu Sep 11 17:29:21 2014 -0700
@@ -56,7 +56,7 @@
 void
 TcpOptionWinScale::Print (std::ostream &os) const
 {
-  os << m_scale;
+  os << static_cast<int> (m_scale);
 }
 
 uint32_t