From 5bb1d01af92868333e9e326ae5a111aaab80a338 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 8 Jun 2013 13:22:06 +0000 Subject: (svn r25333) -Fix: Potential signedness issue. --- src/date.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/date.cpp') diff --git a/src/date.cpp b/src/date.cpp index 5ac94e412..800e4faea 100644 --- a/src/date.cpp +++ b/src/date.cpp @@ -205,7 +205,7 @@ static void OnNewYear() /* check if we reached the maximum year, decrement dates by a year */ } else if (_cur_year == MAX_YEAR + 1) { Vehicle *v; - uint days_this_year; + int days_this_year; _cur_year--; days_this_year = IsLeapYear(_cur_year) ? DAYS_IN_LEAP_YEAR : DAYS_IN_YEAR; -- cgit v1.2.3-54-g00ecf