[PATCH] ntdll: Use our own implementation of atoi.

Alexandre Julliard julliard at winehq.org
Mon Jul 21 08:25:31 CDT 2008


"Lei Zhang" <thestig at google.com> writes:

> diff --git a/dlls/ntdll/string.c b/dlls/ntdll/string.c
> index ebfa6fb..6b36364 100644
> --- a/dlls/ntdll/string.c
> +++ b/dlls/ntdll/string.c
> @@ -466,10 +466,31 @@ ULONG __cdecl NTDLL_strtoul( const char *nptr, char **endptr, int base )
>  
>  /*********************************************************************
>   *                  atoi   (NTDLL.@)
> + *
> + * Same implementation as _atoi64.

If it's the same then there's no need to duplicate it, just call
atoi64. Also what about atol?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list