From 9612aad903a1e6af4ff236636edfaa97a5dc3acd Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 30 Nov 2024 11:15:35 +0100 Subject: [PATCH] fixed version types for platforms with 32-bit "long" type --- src/libgame/system.h | 4 ++-- src/libgame/types.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libgame/system.h b/src/libgame/system.h index 9d11cc6d..a903ad09 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -998,8 +998,8 @@ // type definitions -typedef unsigned long VersionType; -typedef unsigned char VersionSubType; +typedef uint64_t VersionType; +typedef uint8_t VersionSubType; // structure definitions diff --git a/src/libgame/types.h b/src/libgame/types.h index 23d0072a..7055428a 100644 --- a/src/libgame/types.h +++ b/src/libgame/types.h @@ -15,6 +15,7 @@ #include #include #include +#include #include #include -- 2.34.1