From 835928720b0bc38a4f362a363997240b0fbf0bec Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 1 Sep 2009 22:34:50 +0200 Subject: [PATCH] msvcrt: Fix the strtol/strtoul definitions. --- dlls/msvcrt/string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msvcrt/string.c b/dlls/msvcrt/string.c index aacf114829..a5f9a19316 100644 --- a/dlls/msvcrt/string.c +++ b/dlls/msvcrt/string.c @@ -255,7 +255,7 @@ int CDECL __STRINGTOLD( MSVCRT__LDOUBLE *value, char **endptr, const char *str, /****************************************************************** * strtol (MSVCRT.@) */ -long int MSVCRT_strtol(const char* nptr, char** end, int base) +MSVCRT_long CDECL MSVCRT_strtol(const char* nptr, char** end, int base) { /* wrapper to forward libc error code to msvcrt's error codes */ long ret; @@ -289,7 +289,7 @@ long int MSVCRT_strtol(const char* nptr, char** end, int base) /****************************************************************** * strtoul (MSVCRT.@) */ -unsigned long int MSVCRT_strtoul(const char* nptr, char** end, int base) +MSVCRT_ulong CDECL MSVCRT_strtoul(const char* nptr, char** end, int base) { /* wrapper to forward libc error code to msvcrt's error codes */ unsigned long ret; -- 2.32.0.93.g670b81a890