aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-11-15 05:29:21 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-11-15 05:29:21 +0800
commitd266df61cc2439fc72aede6042bf2acf743ee2ee (patch)
tree8f3318663c00e7ef678d8e65283d1dd0183efff6
parent07cada4dbc0e188e84579406ea0da2c7af2e5a0b (diff)
downloadgsoc2013-evolution-d266df61cc2439fc72aede6042bf2acf743ee2ee.tar.gz
gsoc2013-evolution-d266df61cc2439fc72aede6042bf2acf743ee2ee.tar.zst
gsoc2013-evolution-d266df61cc2439fc72aede6042bf2acf743ee2ee.zip
Don't cast an int to a ssize_t.
2000-11-14 Jeffrey Stedfast <fejj@helixcode.com> * camel-stream.c (camel_stream_printf): Don't cast an int to a ssize_t. svn path=/trunk/; revision=6574
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-stream.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 7ede68b595..29827ee439 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-14 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * camel-stream.c (camel_stream_printf): Don't cast an int to a
+ ssize_t.
+
2000-11-10 Dan Winship <danw@helixcode.com>
* providers/mbox/camel-mbox-summary.c
diff --git a/camel/camel-stream.c b/camel/camel-stream.c
index 79fa07cc34..2c8924ee7c 100644
--- a/camel/camel-stream.c
+++ b/camel/camel-stream.c
@@ -212,7 +212,7 @@ camel_stream_printf (CamelStream *stream, const char *fmt, ... )
{
va_list args;
char *string;
- int ret;
+ ssize_t ret;
g_return_val_if_fail (CAMEL_IS_STREAM (stream), -1);