From 98f201b73b4ba5b5dfd86ebcd524ea8f73855174 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 19 Jun 2012 16:35:26 +0800 Subject: [PATCH] Bug 678332-gio/gconverterinputstream.c: Fix build Apparently the previous change to this file broke GCC builds, so fix that. --- gio/gconverterinputstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gconverterinputstream.c b/gio/gconverterinputstream.c index 1684635..0c04bfe 100644 --- a/gio/gconverterinputstream.c +++ b/gio/gconverterinputstream.c @@ -415,7 +415,7 @@ read_internal (GInputStream *stream, buffer_read (&priv->converted_buffer, buffer, available); total_bytes_read = available; - (char *) buffer += available; + buffer = (char *) buffer + available; count -= available; /* If there is no data to convert, and no pre-converted data, -- 2.7.4