From cf90d8bc6c8e339682d96ae43959e1dabc5fefb9 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 8 Jun 2006 22:22:11 +0000 Subject: [PATCH] =?utf8?q?Bugfix.=20Versi=C3=B3n=20salia=20en=20binario.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- practicas/pipi/src/ipheader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/practicas/pipi/src/ipheader.cpp b/practicas/pipi/src/ipheader.cpp index 0fbfca2..facc22b 100644 --- a/practicas/pipi/src/ipheader.cpp +++ b/practicas/pipi/src/ipheader.cpp @@ -44,7 +44,7 @@ void IPHeader::do_checksum() std::ostream& operator<<(std::ostream& os, const IPHeader& iph) { return os - << "version=" << iph.version + << "version=" << unsigned(iph.version) << " total_len=" << iph.total_len << " id=" << iph.id << " DF=" << bool(iph.df) -- 2.43.0