mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
Silence a controversial warning in win_iconv
https://bugzilla.gnome.org/show_bug.cgi?id=711547
This commit is contained in:
parent
42ddcc6ff2
commit
7e0cb48dee
@ -1529,7 +1529,7 @@ utf16_wctomb(csconv_t *cv, ushort *wbuf, int wbufsize, uchar *buf, int bufsize)
|
||||
static int
|
||||
utf32_mbtowc(csconv_t *cv, const uchar *buf, int bufsize, ushort *wbuf, int *wbufsize)
|
||||
{
|
||||
uint wc;
|
||||
uint wc = 0xD800;
|
||||
|
||||
if (bufsize < 4)
|
||||
return_error(EINVAL);
|
||||
|
Loading…
Reference in New Issue
Block a user