Ignore:
Timestamp:
Dec 23, 2011, 7:16:58 PM (14 years ago)
Author:
dmik
Message:

Fix build breaks with the newest GCC 4.4.6 from GIT.

In particular, GCC is now strict about matching the calling convention
of the prototype (argument) and the real function used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/unicode/utf8.c

    r21916 r21927  
    4747/* wide char to UTF-8 string conversion */
    4848/* return -1 on dst buffer overflow */
    49 int utf8_wcstombs( const WCHAR *src, int srclen, char *dst, int dstlen )
     49_K32CONV int utf8_wcstombs( const WCHAR *src, int srclen, char *dst, int dstlen )
    5050{
    5151    int ret = srclen;
     
    127127/* UTF-8 to wide char string conversion */
    128128/* return -1 on dst buffer overflow, -2 on invalid input char */
    129 int utf8_mbstowcs( int flags, const char *src, int srclen, WCHAR *dst, int dstlen )
     129_K32CONV int utf8_mbstowcs( int flags, const char *src, int srclen, WCHAR *dst, int dstlen )
    130130{
    131131    int len, count;
Note: See TracChangeset for help on using the changeset viewer.