Fix mingw64 build by using intptr_t for int->void* casts
The viratomictest.c was casting from an int to a void* via a long. This works on Linux or Mingw32, but fails on Mingw64 due to a pointer/integer size mis-match. Replacing 'long' with 'intptr_t' ensures matching type sizes
Showing
想要评论请 注册 或 登录