From fe10e5fa354a508a6b20b4a20b9bba46c6b8612e Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Sun, 3 May 2020 20:23:10 +0200 Subject: make it compile as 64bit under mingw --- alf/alfcompat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alf/alfcompat.cpp') 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)); -- cgit v1.2.3