From 3cfba39d67acc9fdd7bfc44e1a9ab88201a64763 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Fri, 31 Oct 2025 20:26:40 +0000 Subject: [PATCH] introduce MwUOffset git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@533 b9cfdab3-6d41-4d17-bbe4-086880011989 --- include/Mw/BaseTypes.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/Mw/BaseTypes.h b/include/Mw/BaseTypes.h index dae1af5..a6df20c 100644 --- a/include/Mw/BaseTypes.h +++ b/include/Mw/BaseTypes.h @@ -18,10 +18,14 @@ typedef unsigned char MwBool; #if __STDC_VERSION__ >= 199901L || __GNUC__ > 2 typedef long long MwOffset; +typedef unsigned long long MwUOffset; #elif defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) typedef __int64 MwOffset; +typedef unsigned __int64 MwUOffset; #else -typedef long MwOffset; /* out of hope */ +/* out of hope */ +typedef long MwOffset; +typedef unsigned long MwUOffset; #endif struct _MwPoint {