Compilation fixes for camel/providers/nntp
Philip Van Hoof <[email protected]> Tue, 17 Oct 2006 17:32:24 +0200
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <[email protected]> |
Hf. -- Philip Van Hoof, software developer home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be blog: http://pvanhoof.be/blog _______________________________________________ Evolution-patches mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-patches
camel-nntp-store-summary.c.diff
(text/x-patch, 711 B)
--- /home/pvanhoof/repos/gnome/cvs/evolution-data-server/camel/providers/nntp/camel-nntp-store-summary.c 2006-04-12 21:14:15.000000000 +0200
+++ providers/nntp/camel-nntp-store-summary.c 2006-10-17 17:30:48.000000000 +0200
@@ -249,7 +249,7 @@
} else {
if (c == '/')
c = dir_sep;
- camel_utf8_putc(&f, c);
+ camel_utf8_putc((unsigned char **) &f, c);
}
break;
case 1:
@@ -259,11 +259,11 @@
case 2:
state = 0;
v |= hexnib (c);
- camel_utf8_putc (&f, v);
+ camel_utf8_putc ((unsigned char **) &f, v);
break;
}
}
- camel_utf8_putc (&f, c);
+ camel_utf8_putc ((unsigned char **) &f, c);
/* merge old path part if required */
f = camel_utf8_utf7 (full);
camel-nntp-stream.c.diff
(text/x-patch, 577 B)
--- /home/pvanhoof/repos/gnome/cvs/evolution-data-server/camel/providers/nntp/camel-nntp-stream.c 2005-09-16 00:24:27.000000000 +0200
+++ providers/nntp/camel-nntp-stream.c 2006-10-17 17:29:19.000000000 +0200
@@ -58,7 +58,7 @@
memcpy(is->buf, is->ptr, left);
is->end = is->buf + left;
is->ptr = is->buf;
- left = camel_stream_read(is->source, is->end, CAMEL_NNTP_STREAM_SIZE - (is->end - is->buf));
+ left = camel_stream_read(is->source, (char *) is->end, CAMEL_NNTP_STREAM_SIZE - (is->end - is->buf));
if (left > 0) {
is->end += left;
is->end[0] = '\n';