[gnome-maps] main: Squash a compiler warning



commit 9b3e9e6dedb316a151125aa86a3951bde02fb338
Author: Colin Walters <walters verbum org>
Date:   Sat Jan 25 18:15:28 2014 -0500

    main: Squash a compiler warning

 src/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 72b57ee..3be6d53 100644
--- a/src/main.c
+++ b/src/main.c
@@ -38,7 +38,7 @@ main (int argc, char *argv)
 
   g_irepository_prepend_search_path (GNOME_MAPS_PKGLIBDIR);
 
-  context = gjs_context_new_with_search_path (search_path);
+  context = gjs_context_new_with_search_path ((char**) search_path);
 
   if (!gjs_context_define_string_array(context, "ARGV",
                                        argc - 1, (const char**)argv + 1,


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