fix -Wconst warnings

[ew: cleaned up the dirty union hack a bit]
Signed-off-by: Eric Wong <normalperson@yhbt.net>

git-svn-id: https://svn.musicpd.org/mpd/trunk@7180 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Max Kellermann
2008-02-05 10:17:33 +00:00
committed by Eric Wong
parent 22efbd5eca
commit 6fbdc721d9
37 changed files with 223 additions and 197 deletions

View File

@@ -187,7 +187,8 @@ static char *base64Dup(char *s)
return ret;
}
static char *authString(char *header, char *user, char *password)
static char *authString(const char *header,
const char *user, const char *password)
{
char *ret = NULL;
int templen;