Index: tcp/tcp-fack.cc
--- tcp/tcp-fack.cc.orig
+++ tcp/tcp-fack.cc
@@ -84,7 +84,7 @@ void FackTcpAgent::oldack(Packet* pkt)
 	 * retract maxseq_. The following line of code helps in those cases. For
 	 * versions of TCP, it is a NOP.
 */
-	maxseq_ = max(maxseq_, highest_ack_);
+	maxseq_ = max((int)maxseq_, (int)highest_ack_);
 	if (t_seqno_ < last_ack_ + 1)
 		t_seqno_ = last_ack_ + 1;
 	newtimer(pkt);
