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/mbtowc.c

    r21916 r21927  
    236236
    237237/* return -1 on dst buffer overflow, -2 on invalid input char */
    238 int cp_mbstowcs( const union cptable *table, int flags,
    239                  const char *src, int srclen,
    240                  WCHAR *dst, int dstlen )
     238_K32CONV int cp_mbstowcs( const union cptable *table, int flags,
     239                          const char *src, int srclen,
     240                          WCHAR *dst, int dstlen )
    241241{
    242242    if (NULL == src) return -2;
Note: See TracChangeset for help on using the changeset viewer.