aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/chartable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/chartable.c')
-rw-r--r--src/plugins/chartable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/chartable.c b/src/plugins/chartable.c
index cdf7e3e4e..6458b3e2d 100644
--- a/src/plugins/chartable.c
+++ b/src/plugins/chartable.c
@@ -146,7 +146,7 @@ check_part (struct mime_text_part *part, gboolean raw_mode)
}
scc = g_unichar_get_script (c);
- if (scc < G_N_ELEMENTS (scripts)) {
+ if (scc < (gint)G_N_ELEMENTS (scripts)) {
scripts[scc] ++;
}
p1 = g_utf8_next_char (p);