[gnome-maps] main: Correct type of argv argument to main()



commit 92e67ea79c13fcb54af349e0de77640bfdb106e6
Author: Ting-Wei Lan <lantw44 gmail com>
Date:   Wed Feb 5 13:18:06 2014 +0000

    main: Correct type of argv argument to main()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723065

 src/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index dffc769..a54f784 100644
--- a/src/main.c
+++ b/src/main.c
@@ -26,7 +26,7 @@
 #include <libintl.h>
 
 int
-main (int argc, char *argv)
+main (int argc, char *argv[])
 {
   const char *search_path[] = { "resource:///org/gnome/maps", NULL };
   GError *error = NULL;


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