(svn r27102) -Fix [FS#6194]: money values would end up wrong in strings when outside of the bounds of a 32 bits integer

This commit is contained in:
rubidium
2015-01-01 20:50:43 +00:00
parent 1ed92b3ca3
commit 978d4e4eaa
4 changed files with 4 additions and 3 deletions

View File

@@ -322,6 +322,7 @@
#define OTTD_PRINTF64 "%I64d"
#define OTTD_PRINTFHEX64 "%I64x"
#define PRINTF_SIZE "%Iu"
#define strtoull _strtoui64
#else
#define OTTD_PRINTF64 "%lld"
#define OTTD_PRINTFHEX64 "%llx"