aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-02 22:35:03 +0800
commit433eac7844481b8ceda0bae8bf08f6bb623185b0 (patch)
treed66a04ad4fa676b4bfce762dee09a82f4434d374 /mail/em-format-html.c
parente6c6cbdfb5fd5723ff840b24b29690235be0d74d (diff)
downloadgsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.gz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.bz2
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.lz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.xz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.zst
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.zip
More code cleanup.
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 1991c0d67f..0d1b6c545a 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1153,7 +1153,7 @@ em_format_html_file_part(EMFormatHTML *efh, const gchar *mime_type, const gchar
/* all this api is a pain in the bum ... */
EMFormatHTMLPObject *
-em_format_html_add_pobject(EMFormatHTML *efh, size_t size, const gchar *classid, CamelMimePart *part, EMFormatHTMLPObjectFunc func)
+em_format_html_add_pobject(EMFormatHTML *efh, gsize size, const gchar *classid, CamelMimePart *part, EMFormatHTMLPObjectFunc func)
{
EMFormatHTMLPObject *pobj;
@@ -1263,7 +1263,7 @@ static void emfh_gethttp(struct _EMFormatHTMLJob *job, gint cancelled)
CamelURL *url;
CamelContentType *content_type;
CamelHttpStream *tmp_stream;
- ssize_t n, total = 0, pc_complete = 0, nread = 0;
+ gssize n, total = 0, pc_complete = 0, nread = 0;
gchar buffer[1500];
const gchar *length;
@@ -1822,7 +1822,7 @@ efh_message_external(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part
s = d = url;
while (*s) {
/* FIXME: use camel_isspace */
- if (!isspace ((unsigned char)*s))
+ if (!isspace ((guchar)*s))
*d++ = *s;
s++;
}