Ignore:
Timestamp:
Feb 14, 2016, 2:29:03 PM (10 years ago)
Author:
rousseau
Message:

Corrected some string related mismatches [odin]

In 'heapstring.h', 'strncasecmp' is mapped to 'lstrncmpiA', but the
latter used 'int' for the length and not 'size_t'. According to the C++
language documentation, 'size_t' is an 'unsigned int'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/swt/include/win/winbase.h

    r22081 r22123  
    22712271INT       WINAPI lstrcmpiW(LPCWSTR,LPCWSTR);
    22722272#define     lstrcmpi WINELIB_NAME_AW(lstrcmpi)
    2273 int       WINAPI lstrncmpiA(LPCSTR, LPCSTR, int);
    2274 int       WINAPI lstrncmpiW(LPCWSTR, LPCWSTR, int);
     2273int       WINAPI lstrncmpiA(LPCSTR, LPCSTR, size_t);
     2274int       WINAPI lstrncmpiW(LPCWSTR, LPCWSTR, size_t);
    22752275#define     lstrncmpi WINELIB_NAME_AW(lstrncmpi)
    22762276
Note: See TracChangeset for help on using the changeset viewer.