[evolution-patches] Compilation fixes for camel/providers/nntp
- From: Philip Van Hoof <spam pvanhoof be>
- To: evolution-patches gnome org
- Subject: [evolution-patches] Compilation fixes for camel/providers/nntp
- Date: Tue, 17 Oct 2006 17:32:24 +0200
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
--- /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);
--- /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';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]