Assign more suitable types and fix narrowing conversion warns.
[tinc] / src / hash.h
index e4b1499..1a6ce32 100644 (file)
     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
+#include "system.h"
+
 typedef struct hash_t {
        size_t n;
        size_t size;
-       char *keys;
+       uint8_t *keys;
        const void **values;
 } hash_t;