- fixed warnings.

This commit is contained in:
Christoph Oelckers 2020-01-04 09:44:48 +01:00
parent 3e4d53e8b6
commit 829d43baed
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ struct MidiDeviceList
WideCharToMultiByte(CP_UTF8, 0, caps.szPname, (int)len, outbuf, size_needed, nullptr, nullptr);
outbuf[size_needed] = 0;
MidiOutDevice mdev = { outbuf, id, caps.wTechnology };
MidiOutDevice mdev = { outbuf, (int)id, (int)caps.wTechnology };
devices.push_back(mdev);
}
}