diff --git a/src/stdafx.h b/src/stdafx.h index 4c9ca0d92c..b9d46e0d1e 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -301,12 +301,14 @@ # define OTTD_PRINTF64 "%I64d" # define OTTD_PRINTF64U "%I64u" # define OTTD_PRINTFHEX64 "%I64x" +# define OTTD_PRINTFHEX64PAD "%016I64x" # define PRINTF_SIZE "%Iu" # define PRINTF_SIZEX "%IX" #else # define OTTD_PRINTF64 "%lld" # define OTTD_PRINTF64U "%llu" # define OTTD_PRINTFHEX64 "%llx" +# define OTTD_PRINTFHEX64PAD "%016llx" # define PRINTF_SIZE "%zu" # define PRINTF_SIZEX "%zX" #endif