From 90c0306f66aad64a797690a98e84535b4672bf7e Mon Sep 17 00:00:00 2001
From: Ghislain MARY <ghislain.mary@belledonne-communications.com>
Date: Thu, 14 Aug 2014 16:33:53 +0200
Subject: [PATCH] Fix compilation warnings.

---
 tools/python/apixml2python/handwritten_definitions.mustache | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/python/apixml2python/handwritten_definitions.mustache b/tools/python/apixml2python/handwritten_definitions.mustache
index b3d043c326..41a563687f 100644
--- a/tools/python/apixml2python/handwritten_definitions.mustache
+++ b/tools/python/apixml2python/handwritten_definitions.mustache
@@ -117,8 +117,7 @@ static PyObject * pylinphone_module_method_set_log_handler(PyObject *self, PyObj
 
 static PyObject * pylinphone_Core_get_video_devices(PyObject *self, void *closure) {
 	PyObject *_list;
-	char **_devices;
-	char *_device;
+	const char **_devices;
 	LinphoneCore *native_ptr = pylinphone_Core_get_native_ptr(self);
 
 	if (native_ptr == NULL) {
-- 
GitLab