[vlc-devel] commit: Hildon: work round the usual argv warning ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Oct 1 21:37:05 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Oct  1 22:15:52 2009 +0300| [ae57a467798e53a0edd372b4c7c28c9ee60dea7e] | committer: Rémi Denis-Courmont 

Hildon: work round the usual argv warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae57a467798e53a0edd372b4c7c28c9ee60dea7e
---

 modules/gui/maemo/maemo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/maemo/maemo.c b/modules/gui/maemo/maemo.c
index d323e77..d884c74 100644
--- a/modules/gui/maemo/maemo.c
+++ b/modules/gui/maemo/maemo.c
@@ -119,7 +119,7 @@ static void Close( vlc_object_t *p_this )
 *****************************************************************************/
 static void Run( intf_thread_t *p_intf )
 {
-    char  *p_args[] = { "", NULL };
+    char  *p_args[] = { (char *)"vlc", NULL };
     char **pp_args  = p_args;
     int    i_args   = 1;
 




More information about the vlc-devel mailing list