[glib] g_variant_builder_add_parsed: fix type error



commit 653921e17a00d161a25b21d61ff12b8d03208202
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Jun 9 12:43:13 2010 -0400

    g_variant_builder_add_parsed: fix type error
    
    Problem caught by Juan A. Suarez Romero

 glib/gvariant-parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gvariant-parser.c b/glib/gvariant-parser.c
index 3533cbe..d237334 100644
--- a/glib/gvariant-parser.c
+++ b/glib/gvariant-parser.c
@@ -2287,7 +2287,7 @@ g_variant_builder_add_parsed (GVariantBuilder *builder,
   va_list ap;
 
   va_start (ap, format);
-  g_variant_builder_add_value (builder, g_variant_new_parsed_va (format, ap));
+  g_variant_builder_add_value (builder, g_variant_new_parsed_va (format, &ap));
   va_end (ap);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]