Fix compilation warnings.

This commit is contained in:
Simon Kelley
2012-10-12 13:39:04 +01:00
parent cf568a3726
commit c99df938d7
3 changed files with 3 additions and 3 deletions

View File

@@ -280,7 +280,7 @@ int sa_len(union mysockaddr *addr)
}
/* don't use strcasecmp and friends here - they may be messed up by LOCALE */
int hostname_isequal(char *a, char *b)
int hostname_isequal(const char *a, const char *b)
{
unsigned int c1, c2;