diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-30 08:56:55 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-07-30 08:56:55 +0000 |
commit | a80168a15b7514d58c7af2dc6d7a2b44a4791108 (patch) | |
tree | b3b13d47cbfbef3cd6202de401839fc800f60e3e /src/conf.c | |
parent | e86fd65c81be319c8f4848d42053084ceab9afc8 (diff) |
gcc signedness and sparse fixes
git-svn-id: https://svn.musicpd.org/mpd/trunk@4489 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/conf.c')
-rw-r--r-- | src/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf.c b/src/conf.c index 2ba49ae52..bea4e2c08 100644 --- a/src/conf.c +++ b/src/conf.c @@ -199,7 +199,7 @@ static ConfigParam *readConfigBlock(FILE * fp, int *count, char *string) int argsMinusComment; while (myFgets(string, MAX_STRING_SIZE, fp)) { - char *array[CONF_LINE_TOKEN_MAX] = { 0 }; + char *array[CONF_LINE_TOKEN_MAX] = { NULL }; (*count)++; @@ -262,7 +262,7 @@ void readConf(char *file) } while (myFgets(string, MAX_STRING_SIZE, fp)) { - char *array[CONF_LINE_TOKEN_MAX] = { 0 }; + char *array[CONF_LINE_TOKEN_MAX] = { NULL }; count++; numberOfArgs = cstrtok(string, array, CONF_LINE_TOKEN_MAX); |