Resolve compiler warnings

This commit is contained in:
counterpoint
2015-07-08 11:35:41 +01:00
parent 77db46359e
commit 10d690273d
5 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,6 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#define _XOPEN_SOURCE
#include <unistd.h>
#include <crypt.h>
#include <users.h>

View File

@ -310,7 +310,7 @@ if((monitorhash = hashtable_alloc(5,simple_str_hash,strcmp)) == NULL)
return 0;
}
hashtable_memory_fns(monitorhash,strdup,NULL,free,NULL);
hashtable_memory_fns(monitorhash,(HASHMEMORYFN)strdup,NULL,(HASHMEMORYFN)free,NULL);
/**
* Process the data and create the services and servers defined
* in the data.