Based on patch by Chip Davis.
Signed-off-by: Jacek Caban jacek@codeweavers.com ---
With PE builds by default and GCC using -mabi and native clang not really working, platforms where we can't use long are mostly theoretical. On the other hand, on cross compilers, using ints where long is expected causes troubles for things like builtin functions. This was already addressed for clang in mingw mode in ee9beb58639, but incompatible long is an error in msvc mode.
dlls/msvcirt/tests/msvcirt.c | 8 ++++---- dlls/msvcrt/tests/file.c | 12 ++++++------ dlls/msvcrt/tests/misc.c | 8 ++++---- dlls/msvcrt/tests/time.c | 10 +++++----- include/msvcrt/corecrt.h | 5 +++++ 5 files changed, 24 insertions(+), 19 deletions(-)