build with -Wall -Wextra -Werror and fix errors

This commit is contained in:
josch
2014-09-19 09:21:28 +02:00
parent ef3b2aa844
commit b322f68ad2
21 changed files with 66 additions and 24 deletions

View File

@@ -133,7 +133,7 @@ stringv_split(char *string,char *token,int limit)
char *curr = NULL;
char *next = NULL;
int count = 0;
int len;
unsigned int len;
size_t copy_len = 0;
if(string == NULL) return (char**)NULL;