summaryrefslogtreecommitdiff
path: root/currency.c
diff options
context:
space:
mode:
Diffstat (limited to 'currency.c')
-rw-r--r--currency.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/currency.c b/currency.c
index 2954a9973..997303245 100644
--- a/currency.c
+++ b/currency.c
@@ -79,7 +79,7 @@ uint GetMaskOfAllowedCurrencies(void)
uint i;
for (i = 0; i != lengthof(_currency_specs); i++) {
- uint16 to_euro = _currency_specs[i].to_euro;
+ Year to_euro = _currency_specs[i].to_euro;
if (to_euro != CF_NOEURO && to_euro != CF_ISEURO && _cur_year >= to_euro) continue;
if (to_euro == CF_ISEURO && _cur_year < 2000) continue;