[CMICONTROL] Fix MSVC 14.2 dbg x64 warning C4267 (#5696)

Can be observed on the buildbots:
2023-09-17T14:19:34.2051345Z [10663/14808] Building CXX object drivers\wdm\audio\drivers\CMIDriver\cmicontrol\CMakeFiles\cmicontrol.dir\main.cpp.obj
2023-09-17T14:19:34.2052611Z D:\a\reactos\reactos\src\drivers\wdm\audio\drivers\CMIDriver\cmicontrol\main.cpp(818): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
This commit is contained in:
Joachim Henze 2023-09-27 19:34:32 +02:00 committed by GitHub
parent 9ca88bef80
commit e69d2e8b89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -799,7 +799,7 @@ void printUsage()
void deleteDriverFiles() {
TCHAR SysDir[MAX_PATH];
unsigned int len;
size_t len;
if (GetSystemDirectory(SysDir, sizeof(SysDir))==0) {
PrintLastError("GetSystemDirectory()");
return;