mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
[Analyzers][CPP]Changes to fix warning 26493 on src/modules/ (A to F) (#23482)
starting with letter A to Letter F
This commit is contained in:
@@ -197,8 +197,8 @@ ZonesMap LayoutConfigurator::Focus(FancyZonesUtils::Rect workArea, int zoneCount
|
||||
|
||||
long left{ 100 };
|
||||
long top{ 100 };
|
||||
long right{ left + long(workArea.width() * 0.4) };
|
||||
long bottom{ top + long(workArea.height() * 0.4) };
|
||||
long right{ left + static_cast<long>(workArea.width() * 0.4) };
|
||||
long bottom{ top + static_cast<long>(workArea.height() * 0.4) };
|
||||
|
||||
RECT focusZoneRect{ left, top, right, bottom };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user