[jhbuild] install-check: Fix GCC warnings



commit 0b1d66d9b25118e82cbf0e4b045db800c2046060
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Mar 20 12:20:59 2013 +0000

    install-check: Fix GCC warnings

 install-check.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/install-check.c b/install-check.c
index 725b024..9436e75 100644
--- a/install-check.c
+++ b/install-check.c
@@ -63,7 +63,8 @@ main (int    argc,
 {
   struct stat buf;
   char **args;
-  int i, len;
+  int i;
+  unsigned int len;
   char *dot, *lastarg, *start;
 
   lastarg = argv[argc - 1];
@@ -109,7 +110,7 @@ install:
   args = malloc (sizeof (char *) * (argc + 1));
 
 #ifndef WITH_INSTALL
-  args[0] = "install";
+  args[0] = (char *) "install";
 #else
   args[0] = WITH_INSTALL;
 #endif


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