Commit bdf4aff6 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

_wto{l,i,i64} parameters are const.

parent cf4c3348
...@@ -669,7 +669,7 @@ LPWSTR __cdecl _i64tow( ...@@ -669,7 +669,7 @@ LPWSTR __cdecl _i64tow(
* No check is made for value overflow, only the lower 32 bits are assigned. * No check is made for value overflow, only the lower 32 bits are assigned.
* If str is NULL it crashes, as the native function does. * If str is NULL it crashes, as the native function does.
*/ */
LONG __cdecl _wtol( LPWSTR str ) LONG __cdecl _wtol( LPCWSTR str )
{ {
ULONG RunningTotal = 0; ULONG RunningTotal = 0;
char bMinus = 0; char bMinus = 0;
...@@ -710,7 +710,7 @@ LONG __cdecl _wtol( LPWSTR str ) ...@@ -710,7 +710,7 @@ LONG __cdecl _wtol( LPWSTR str )
* No check is made for value overflow, only the lower 32 bits are assigned. * No check is made for value overflow, only the lower 32 bits are assigned.
* If str is NULL it crashes, as the native function does. * If str is NULL it crashes, as the native function does.
*/ */
int __cdecl _wtoi( LPWSTR str ) int __cdecl _wtoi( LPCWSTR str )
{ {
return _wtol(str); return _wtol(str);
} }
...@@ -732,7 +732,7 @@ int __cdecl _wtoi( LPWSTR str ) ...@@ -732,7 +732,7 @@ int __cdecl _wtoi( LPWSTR str )
* No check is made for value overflow, only the lower 64 bits are assigned. * No check is made for value overflow, only the lower 64 bits are assigned.
* If str is NULL it crashes, as the native function does. * If str is NULL it crashes, as the native function does.
*/ */
LONGLONG __cdecl _wtoi64( LPWSTR str ) LONGLONG __cdecl _wtoi64( LPCWSTR str )
{ {
ULONGLONG RunningTotal = 0; ULONGLONG RunningTotal = 0;
char bMinus = 0; char bMinus = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment