diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-05-03 20:23:10 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-05-03 20:23:10 +0200 |
| commit | fe10e5fa354a508a6b20b4a20b9bba46c6b8612e (patch) | |
| tree | c9993398c269dd5017370f422e2025d0b9a3e396 /alf/alfcompat.cpp | |
| parent | a3870e00c23e64691c43e74c5f20969e9051a48c (diff) | |
make it compile as 64bit under mingw
Diffstat (limited to 'alf/alfcompat.cpp')
| -rw-r--r-- | alf/alfcompat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alf/alfcompat.cpp b/alf/alfcompat.cpp index 5226bb4..164032f 100644 --- a/alf/alfcompat.cpp +++ b/alf/alfcompat.cpp @@ -90,8 +90,8 @@ ALF_Compat_fallbackSystemParametersInfoForDpi(UINT uiAction, UINT uiParam, PVOID ncmw->iPaddedBorderWidth = 0; } - ncmw->cbSize = s; - return SystemParametersInfo(SPI_GETNONCLIENTMETRICS, s, ncmw, fWinIni); + ncmw->cbSize = (UINT)s; + return SystemParametersInfo(SPI_GETNONCLIENTMETRICS, (UINT)s, ncmw, fWinIni); #else ALF_NONCLIENTMETRICSA_VISTA ncma; ZeroMemory(&ncma, sizeof(ncma)); |
