Module: wine Branch: master Commit: 835928720b0bc38a4f362a363997240b0fbf0bec URL: http://source.winehq.org/git/wine.git/?a=commit;h=835928720b0bc38a4f362a3639...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Sep 1 22:34:50 2009 +0200
msvcrt: Fix the strtol/strtoul definitions.
---
dlls/msvcrt/string.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/string.c b/dlls/msvcrt/string.c index aacf114..a5f9a19 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;