Piotr Caban : msvcrt: Mark old_locinfo as const in create_locinfo.

Alexandre Julliard julliard at winehq.org
Wed Nov 18 15:48:01 CST 2020


Module: wine
Branch: master
Commit: b0622bb49a419567d7b4d7bbbebed9d74cdd34e6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b0622bb49a419567d7b4d7bbbebed9d74cdd34e6

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Wed Nov 18 17:25:32 2020 +0100

msvcrt: Mark old_locinfo as const in create_locinfo.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msvcrt/locale.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcrt/locale.c b/dlls/msvcrt/locale.c
index 32f2c9b4624..b24871b9cd7 100644
--- a/dlls/msvcrt/locale.c
+++ b/dlls/msvcrt/locale.c
@@ -1035,7 +1035,7 @@ static inline BOOL set_lc_locale_name(MSVCRT_pthreadlocinfo locinfo, int cat)
 #endif
 
 static inline BOOL category_needs_update(int cat, int user_cat,
-        MSVCRT_pthreadlocinfo locinfo, LCID lcid, unsigned short cp)
+        const MSVCRT_threadlocinfo *locinfo, LCID lcid, unsigned short cp)
 {
     if(!locinfo) return TRUE;
     if(user_cat!=cat && user_cat!=MSVCRT_LC_ALL) return FALSE;
@@ -1106,7 +1106,7 @@ static MSVCRT___lc_time_data* create_time_data(LCID lcid)
 }
 
 static MSVCRT_pthreadlocinfo create_locinfo(int category,
-        const char *locale, MSVCRT_pthreadlocinfo old_locinfo)
+        const char *locale, const MSVCRT_threadlocinfo *old_locinfo)
 {
     static const char collate[] = "COLLATE=";
     static const char ctype[] = "CTYPE=";




More information about the wine-cvs mailing list