From: Holger Schemel Date: Sat, 30 Nov 2024 10:15:35 +0000 (+0100) Subject: fixed version types for platforms with 32-bit "long" type X-Git-Tag: 4.4.0.0-test-4~9 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=9612aad903a1e6af4ff236636edfaa97a5dc3acd;p=rocksndiamonds.git fixed version types for platforms with 32-bit "long" type --- 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