aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-05-12 05:54:50 +0800
committerDan Winship <danw@src.gnome.org>2000-05-12 05:54:50 +0800
commit2ea807ebc553b3e1c7f5175419893f509813236d (patch)
treed0f2d84237c8ee15c29df0138b437d08cc2dcb6e
parentdd6468c299863d7c77655ad0ab92171835838924 (diff)
downloadgsoc2013-evolution-2ea807ebc553b3e1c7f5175419893f509813236d.tar
gsoc2013-evolution-2ea807ebc553b3e1c7f5175419893f509813236d.tar.gz
gsoc2013-evolution-2ea807ebc553b3e1c7f5175419893f509813236d.tar.bz2
gsoc2013-evolution-2ea807ebc553b3e1c7f5175419893f509813236d.tar.lz
gsoc2013-evolution-2ea807ebc553b3e1c7f5175419893f509813236d.tar.xz
gsoc2013-evolution-2ea807ebc553b3e1c7f5175419893f509813236d.tar.zst
gsoc2013-evolution-2ea807ebc553b3e1c7f5175419893f509813236d.zip
Change to match prototype (size_t vs unsigned int) so it works on 64-bit
* camel-stream-mem.c (camel_stream_mem_new_with_buffer): Change to match prototype (size_t vs unsigned int) so it works on 64-bit machines. Noted by msw. svn path=/trunk/; revision=2998
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/camel-stream-mem.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 1d73c7d4e4..4f82cec216 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2000-05-11 Dan Winship <danw@helixcode.com>
+
+ * camel-stream-mem.c (camel_stream_mem_new_with_buffer): Change
+ to match prototype (size_t vs unsigned int) so it works on 64-bit
+ machines. Noted by msw.
+
2000-05-11 NotZed <NotZed@HelixCode.com>
* providers/mbox/camel-mbox-folder.c (message_changed): Indicate
diff --git a/camel/camel-stream-mem.c b/camel/camel-stream-mem.c
index 5d0fa7a39b..2c6357b12b 100644
--- a/camel/camel-stream-mem.c
+++ b/camel/camel-stream-mem.c
@@ -109,7 +109,7 @@ camel_stream_mem_new (void)
}
CamelStream *
-camel_stream_mem_new_with_buffer (const char *buffer, unsigned int len)
+camel_stream_mem_new_with_buffer (const char *buffer, size_t len)
{
GByteArray *ba;