How to get rid of C6387 warning on call to fwrite function? In Visual Studio 2022, I am getting the following warning when I call fwrite.