From: DeaDDooMER Date: Tue, 22 May 2018 16:09:17 +0000 (+0300) Subject: Fix warnings on amd64 X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=commitdiff_plain;h=e33d969e9c2e1b73d2a5ea2e9a3181b21d096687 Fix warnings on amd64 --- diff --git a/src/flexui/fui_flexlay.pas b/src/flexui/fui_flexlay.pas index fc6e93a..99a400f 100644 --- a/src/flexui/fui_flexlay.pas +++ b/src/flexui/fui_flexlay.pas @@ -368,7 +368,7 @@ begin // if control is only one in a group, mark is as "not grouped" for gidx := 0 to 1 do begin - if (gidx = 0) then gflg := not LongWord(FlagInGroupH) else gflg := not LongWord(FlagInGroupV); + if (gidx = 0) then gflg := LongWord(not FlagInGroupH) else gflg := LongWord(not FlagInGroupV); f := 0; while (f < Length(groups[gidx])) do begin