summaryrefslogtreecommitdiffstats
path: root/src/skel/win/win.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-11 19:10:01 +0200
committereray orçunus <erayorcunus@gmail.com>2020-05-11 19:10:01 +0200
commit36e2bc95d385c79075495d96e066d697727449d5 (patch)
treeea31257f477421dedf55decfd8bde8f478198d4a /src/skel/win/win.cpp
parentLinux build support (diff)
downloadre3-36e2bc95d385c79075495d96e066d697727449d5.tar
re3-36e2bc95d385c79075495d96e066d697727449d5.tar.gz
re3-36e2bc95d385c79075495d96e066d697727449d5.tar.bz2
re3-36e2bc95d385c79075495d96e066d697727449d5.tar.lz
re3-36e2bc95d385c79075495d96e066d697727449d5.tar.xz
re3-36e2bc95d385c79075495d96e066d697727449d5.tar.zst
re3-36e2bc95d385c79075495d96e066d697727449d5.zip
Diffstat (limited to 'src/skel/win/win.cpp')
-rw-r--r--src/skel/win/win.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index d20cc0bf..9a885818 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -100,10 +100,10 @@ IVideoWindow *pVW = nil;
IMediaSeeking *pMS = nil;
DWORD dwDXVersion;
-DWORD _dwMemTotalPhys;
-DWORD _dwMemAvailPhys;
-DWORD _dwMemTotalVirtual;
-DWORD _dwMemAvailVirtual;
+SIZE_T _dwMemTotalPhys;
+SIZE_T _dwMemAvailPhys;
+SIZE_T _dwMemTotalVirtual;
+SIZE_T _dwMemAvailVirtual;
DWORD _dwMemTotalVideo;
DWORD _dwMemAvailVideo;
DWORD _dwOperatingSystemVersion;
@@ -687,10 +687,10 @@ psInitialise(void)
_GetVideoMemInfo(&_dwMemTotalVideo, &_dwMemAvailVideo);
#ifdef FIX_BUGS
- debug("Physical memory size %u\n", _dwMemTotalPhys);
- debug("Available physical memory %u\n", _dwMemAvailPhys);
- debug("Video memory size %u\n", _dwMemTotalVideo);
- debug("Available video memory %u\n", _dwMemAvailVideo);
+ debug("Physical memory size %lu\n", _dwMemTotalPhys);
+ debug("Available physical memory %lu\n", _dwMemAvailPhys);
+ debug("Video memory size %lu\n", _dwMemTotalVideo);
+ debug("Available video memory %lu\n", _dwMemAvailVideo);
#else
debug("Physical memory size %d\n", _dwMemTotalPhys);
debug("Available physical memory %d\n", _dwMemAvailPhys);