mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-19 21:59:17 +02: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
|
static int
|
||||||
utf32_mbtowc(csconv_t *cv, const uchar *buf, int bufsize, ushort *wbuf, int *wbufsize)
|
utf32_mbtowc(csconv_t *cv, const uchar *buf, int bufsize, ushort *wbuf, int *wbufsize)
|
||||||
{
|
{
|
||||||
uint wc;
|
uint wc = 0xD800;
|
||||||
|
|
||||||
if (bufsize < 4)
|
if (bufsize < 4)
|
||||||
return_error(EINVAL);
|
return_error(EINVAL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user