[vte] Fix warnings
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vte] Fix warnings
- Date: Thu, 20 Aug 2009 21:29:24 +0000 (UTC)
commit c34204b358df9d887096b4cd1b5ce7f299d1e3ff
Author: Behdad Esfahbod <behdad behdad org>
Date: Thu Aug 20 17:12:13 2009 -0400
Fix warnings
src/buffer.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/buffer.h b/src/buffer.h
index 3fab9d6..58b396a 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -32,7 +32,7 @@ typedef GByteArray VteBuffer;
#define _vte_buffer_new g_byte_array_new
#define _vte_buffer_free(B) g_byte_array_free (B, TRUE)
-#define _vte_buffer_append g_byte_array_append
+#define _vte_buffer_append(B, data, length) g_byte_array_append (B, (const guint8 *) (data), length)
#define _vte_buffer_length(B) ((B)->len)
#define _vte_buffer_consume(B, length) g_byte_array_remove_range (B, 0, length)
#define _vte_buffer_clear(B) g_byte_array_set_size (B, 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]