diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-09-02 10:31:10 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-09-02 10:31:10 +0000 |
commit | 02a672d5bfa50cad8ab5cb047125c708c68176ab (patch) | |
tree | 455d2e2127fb9f8337a7218ab054e47491a18813 /libsylph/unmime.c | |
parent | 67fecb1232183bad2ac2eec436c8affd4c3e49f7 (diff) |
fixed signedness warnings.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@544 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/unmime.c')
-rw-r--r-- | libsylph/unmime.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libsylph/unmime.c b/libsylph/unmime.c index 23d787a3..27267b13 100644 --- a/libsylph/unmime.c +++ b/libsylph/unmime.c @@ -99,14 +99,15 @@ gchar *unmime_header(const gchar *encoded_str) if (encoding == 'B') { decoded_text = g_malloc (eword_end_p - (text_begin_p + 1) + 1); - len = base64_decode(decoded_text, text_begin_p + 1, + len = base64_decode((guchar *)decoded_text, + text_begin_p + 1, eword_end_p - (text_begin_p + 1)); decoded_text[len] = '\0'; } else if (encoding == 'Q') { decoded_text = g_malloc (eword_end_p - (text_begin_p + 1) + 1); len = qp_decode_q_encoding - (decoded_text, text_begin_p + 1, + ((guchar *)decoded_text, text_begin_p + 1, eword_end_p - (text_begin_p + 1)); } else { g_string_append_len(outbuf, p, eword_end_p + 2 - p); |