mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-03 13:01:55 +01:00
Windows: Fix a batch of MSVC warnings from CI
Signed/unsigned comparisons, bool/int mixes and narrowing in our own code, plus duplicate NOMINMAX defines. The UWP Common/Core/UI projects now define _CRT_NO_POSIX_ERROR_CODES like the desktop ones, so SocketCompat.h no longer redefines the errno macros there. ImMemView's byte search no longer strdup()s the query (it leaked on the error path). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c0fd904fee
commit
58b84a89a7
19 files changed
+34
-32
No files matched your search
@@ -29,7 +29,7 @@ DropShadowParams UIDropShadowParams(float pixelsPerUnit) {
|
||||
DropShadowParams params;
|
||||
params.radius = std::max(1, (int)(UI_SHADOW_RADIUS * pixelsPerUnit));
|
||||
params.intensity = UI_SHADOW_INTENSITY;
|
||||
params.offsetY = 1.0f * pixelsPerUnit;
|
||||
params.offsetY = (int)(1.0f * pixelsPerUnit);
|
||||
return params;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user