mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-29 04:14:11 +02:00
fix gint/gsize confusion.
Fri Dec 5 12:09:13 2003 Manish Singh <yosh@gimp.org> * glib/gunidecomp.c (_g_utf8_normalize_wc): fix gint/gsize confusion.
This commit is contained in:
committed by
Manish Singh
parent
45b1590923
commit
267031000f
@@ -357,7 +357,7 @@ _g_utf8_normalize_wc (const gchar *str,
|
||||
|
||||
if (wc >= 0xac00 && wc <= 0xd7af)
|
||||
{
|
||||
gint result_len;
|
||||
gsize result_len;
|
||||
decompose_hangul (wc, NULL, &result_len);
|
||||
n_wc += result_len;
|
||||
}
|
||||
@@ -388,7 +388,7 @@ _g_utf8_normalize_wc (const gchar *str,
|
||||
|
||||
if (wc >= 0xac00 && wc <= 0xd7af)
|
||||
{
|
||||
gint result_len;
|
||||
gsize result_len;
|
||||
decompose_hangul (wc, wc_buffer + n_wc, &result_len);
|
||||
n_wc += result_len;
|
||||
}
|
||||
|
Reference in New Issue
Block a user