---
 lib/nfkc.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/nfkc.c b/lib/nfkc.c
index feb4844..77ebc04 100644
--- a/lib/nfkc.c
+++ b/lib/nfkc.c
@@ -634,17 +634,17 @@ decompose_hangul (gunichar s, gunichar * r, gsize * 
result_len)
 static const gchar *
 find_decomposition (gunichar ch, gboolean compat)
 {
-  int start = 0;
-  int end = G_N_ELEMENTS (decomp_table);
+  gsize start = 0;
+  gsize end = G_N_ELEMENTS (decomp_table);
 
   if (ch >= decomp_table[start].ch && ch <= decomp_table[end - 1].ch)
     {
       while (TRUE)
        {
-         int half = (start + end) / 2;
+         gsize half = (start + end) / 2;
          if (ch == decomp_table[half].ch)
            {
-             int offset;
+             gsize offset;
 
              if (compat)
                {
-- 
2.8.0.windows.1


_______________________________________________
Help-libidn mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-libidn
  • [PA... Karlson2k
    • ... Karlson2k
    • ... Karlson2k
    • ... Karlson2k
    • ... Karlson2k
    • ... Discussion list for GNU Internationalized Domain Name library (Libidn)

Reply via email to