Commit 38f47639 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Fix __pctype_func implementation.

parent f272fb29
......@@ -56,14 +56,14 @@ WORD MSVCRT__ctype [257] = {
* changes to affect ctypes (i.e. isleadbyte), we use a second table
* and update its flags whenever the current locale changes.
*/
WORD* MSVCRT__pctype = NULL;
unsigned short *MSVCRT__pctype = NULL;
/*********************************************************************
* __pctype_func (MSVCRT.@)
*/
WORD** CDECL MSVCRT___pctype_func(void)
const unsigned short* CDECL MSVCRT___pctype_func(void)
{
return &get_locale()->locinfo->pctype;
return get_locale()->locinfo->pctype;
}
/*********************************************************************
......
......@@ -135,7 +135,7 @@ extern int MSVCRT___lc_codepage;
extern int MSVCRT___lc_collate_cp;
extern int MSVCRT___mb_cur_max;
extern WORD MSVCRT__ctype [257];
extern WORD* MSVCRT__pctype;
extern unsigned short *MSVCRT__pctype;
void msvcrt_set_errno(int);
......
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