[glib] Bug 678332-gio/gconverterinputstream.c: Fix build
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Bug 678332-gio/gconverterinputstream.c: Fix build
- Date: Tue, 19 Jun 2012 08:35:38 +0000 (UTC)
commit 98f201b73b4ba5b5dfd86ebcd524ea8f73855174
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Jun 19 16:35:26 2012 +0800
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 files changed, 1 insertions(+), 1 deletions(-)
---
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]