aboutsummaryrefslogtreecommitdiff
path: root/libsylph/procmime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/procmime.c')
-rw-r--r--libsylph/procmime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/procmime.c b/libsylph/procmime.c
index 24fa4441..b06f0d6c 100644
--- a/libsylph/procmime.c
+++ b/libsylph/procmime.c
@@ -1680,7 +1680,7 @@ EncodingType procmime_get_encoding_for_str(const gchar *str)
total_len = strlen(str);
- for (p = str; *p != '\0'; ++p) {
+ for (p = (const guchar *)str; *p != '\0'; ++p) {
if (*p & 0x80)
++octet_chars;
}