From 34531f7afb843f5aaf2bc99ba55802b3a7589311 Mon Sep 17 00:00:00 2001 From: Ted John Date: Wed, 16 May 2018 21:22:17 +0100 Subject: [PATCH] Fix signed/unsigned mismatch warnings (#7529) Unignore MSVC warning: C4245: 'conversion_type': conversion from 'type1' to 'type2', signed/unsigned mismatch --- openrct2.common.props | 3 +-- src/openrct2-ui/windows/Footpath.cpp | 2 +- src/openrct2-ui/windows/MapGen.cpp | 8 ++++---- src/openrct2-ui/windows/NewRide.cpp | 3 ++- src/openrct2-ui/windows/Park.cpp | 3 ++- src/openrct2-ui/windows/Scenery.cpp | 6 +++--- src/openrct2-ui/windows/TopToolbar.cpp | 12 ++++++------ src/openrct2/interface/Window.cpp | 4 ++-- src/openrct2/interface/Window.h | 3 +++ src/openrct2/localisation/Localisation.cpp | 6 +++--- src/openrct2/network/Network.cpp | 4 ++-- src/openrct2/network/NetworkPacket.cpp | 2 +- src/openrct2/network/NetworkPacket.h | 2 +- src/openrct2/network/network.h | 2 +- src/openrct2/paint/Paint.cpp | 2 +- src/openrct2/paint/tile_element/Surface.cpp | 7 ++++--- src/openrct2/ride/Ride.cpp | 16 ++++++++-------- src/openrct2/world/Duck.cpp | 5 +++-- src/openrct2/world/Scenery.h | 2 ++ 19 files changed, 50 insertions(+), 42 deletions(-) diff --git a/openrct2.common.props b/openrct2.common.props index af90f61774..194e253b42 100644 --- a/openrct2.common.props +++ b/openrct2.common.props @@ -32,7 +32,7 @@ Level4 - 4068;4091;4100;4132;4200;4201;4204;4206;4221;4244;4245;%(DisableSpecificWarnings) + 4068;4091;4100;4132;4200;4201;4204;4206;4221;4244;%(DisableSpecificWarnings) 4263;4265;4548;4549;4555