[glib] Silence a controversial warning in win_iconv
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Silence a controversial warning in win_iconv
- Date: Sat, 2 Aug 2014 12:39:46 +0000 (UTC)
commit 7e0cb48dee9a8ecd87d403b7941ad3209eee658c
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Sat Aug 2 12:36:37 2014 +0000
Silence a controversial warning in win_iconv
https://bugzilla.gnome.org/show_bug.cgi?id=711547
glib/win_iconv.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/win_iconv.c b/glib/win_iconv.c
index 7a55c0a..e04a315 100644
--- a/glib/win_iconv.c
+++ b/glib/win_iconv.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]