From 0379e2e8329b62dce6d4a7723641cba673c66740 Mon Sep 17 00:00:00 2001 From: Jyrki Vesterinen Date: Mon, 4 Mar 2019 19:22:25 +0200 Subject: [PATCH] Fix build with Visual Studio Regression from commit 8ee6ed786cc42defb0bc20d3a3b5891479d5ddea. --- src/reports.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reports.cpp b/src/reports.cpp index 9cdb6e5bca65..3c16d4a570bf 100644 --- a/src/reports.cpp +++ b/src/reports.cpp @@ -621,7 +621,7 @@ static config unit_vision(const unit* u) tooltip << _("vision:") << ' ' << u->vision() << '\n'; } if (u->jamming() != 0) { - if (str.tellp() == 0) + if (static_cast(str.tellp()) == 0) str << _("jamming:") << ' ' << u->jamming(); tooltip << _("jamming:") << ' ' << u->jamming() << '\n'; }