comctl32: Constify some variables (12 of 12)
Andrew Talbot
Andrew.Talbot at talbotville.com
Sat Mar 31 11:44:46 CDT 2007
Changelog:
comctl32: Constify some variables.
diff -urN a/dlls/comctl32/string.c b/dlls/comctl32/string.c
--- a/dlls/comctl32/string.c 2007-03-08 17:37:16.000000000 +0000
+++ b/dlls/comctl32/string.c 2007-03-31 16:20:59.000000000 +0100
@@ -427,7 +427,7 @@
* The signed integer value represented by the string, or 0 if no integer is
* present.
*/
-INT WINAPI StrToIntA (LPSTR lpszStr)
+INT WINAPI StrToIntA (LPCSTR lpszStr)
{
return atoi(lpszStr);
}
@@ -449,7 +449,7 @@
*
* See StrToIntA.
*/
-INT WINAPI StrToIntW (LPWSTR lpString)
+INT WINAPI StrToIntW (LPCWSTR lpString)
{
return atoiW(lpString);
}
More information about the wine-patches
mailing list