[totem] Bug 590566 – Compiler warning in totem-python-module.c



commit 59cf22db54473d787b9ee45627b97d46232eff98
Author: Robin Stocker <robin nibor org>
Date:   Mon Aug 3 11:25:55 2009 +0200

    Bug 590566 â?? Compiler warning in totem-python-module.c
    
    Fix compiler warning about passing incompatible pointer type.
    Closes: bgo#590566

 src/plugins/totem-python-module.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/totem-python-module.c b/src/plugins/totem-python-module.c
index a514907..1426e31 100644
--- a/src/plugins/totem-python-module.c
+++ b/src/plugins/totem-python-module.c
@@ -112,7 +112,7 @@ totem_python_module_init_python (void)
 	PyObject *sys_path;
 	struct sigaction old_sigint;
 	gint res;
-	const char *argv[] = { "totem", NULL };
+	char *argv[] = { "totem", NULL };
 	GList *paths;
 
 	if (Py_IsInitialized ()) {



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