Fix warning about size_t type

This commit is contained in:
ema
2024-12-07 06:05:39 +08:00
parent df75e51b45
commit aa8e5d6355

View File

@@ -69,7 +69,7 @@ bool Everything::MatchClass(PWCHAR classBuffer)
{
WCHAR sMatchC[256] = { '\0' };
WCHAR sMatchS[256] = EVERYTHING_IPC_WINDOW_CLASS;
int iLen = wcslen(sMatchS);
size_t iLen = wcslen(sMatchS);
wcsncpy_s(sMatchC, classBuffer, iLen);
return (0 == wcscmp(sMatchC, sMatchS));
}