The msys2 engine seemed to be stricter about typecasting when we were building our winapi than it was in our previous tests. The new version was tried on my Windows virtual machine with tpm, and then it was sent out to fix the compiler problems.