Bug 678332-gio/gconverterinputstream.c: Fix build
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 19 Jun 2012 08:35:26 +0000 (16:35 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 19 Jun 2012 08:35:26 +0000 (16:35 +0800)
Apparently the previous change to this file broke GCC builds, so fix that.

gio/gconverterinputstream.c

index 1684635..0c04bfe 100644 (file)
@@ -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,