[yelp] tests: fix a GCC warning



commit 3dce8a25e40bd25b6db408e1c4fd7502f2955e88
Author: Cosimo Cecchi <cosimo endlessm com>
Date:   Wed Dec 10 15:33:02 2014 -0800

    tests: fix a GCC warning

 tests/test-transform.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-transform.c b/tests/test-transform.c
index 5d3304a..481e27c 100644
--- a/tests/test-transform.c
+++ b/tests/test-transform.c
@@ -160,7 +160,7 @@ main (gint argc, gchar **argv)
     xmlXIncludeProcessFlags (doc,
                             XML_PARSE_DTDLOAD | XML_PARSE_NOCDATA |
                             XML_PARSE_NOENT   | XML_PARSE_NONET   );
-    if (!yelp_transform_start (transform, doc, (xmlDocPtr)params, NULL))
+    if (!yelp_transform_start (transform, doc, NULL, (const gchar **) params))
        return 1;
 
     if (random_timeout) {


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