diff options
Diffstat (limited to 'src/date_type.h')
-rw-r--r-- | src/date_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date_type.h b/src/date_type.h index ae92b1d27..5afc925e4 100644 --- a/src/date_type.h +++ b/src/date_type.h @@ -75,7 +75,7 @@ enum { #define MAX_YEAR 5000000 /** The number of days till the last day */ -#define MAX_DAY DAYS_TILL(MAX_YEAR + 1) - 1 +#define MAX_DAY (DAYS_TILL(MAX_YEAR + 1) - 1) typedef int32 Date; ///< The type to store our dates in typedef uint16 DateFract; ///< The fraction of a date we're in, i.e. the number of ticks since the last date changeover |