Convert unsigned long to size_t in function prototypes for 32 bits systems.

This commit is contained in:
Patrick Pelissier committed 2018-04-15 01:10:49 +02:00
1 parent 175fb46508
commit 6b8bb33221
13 files changed
+34 -34

No files matched your search

+2 -2
View File
@@ -98,7 +98,7 @@ static void test_rbtree(size_t n)
KHASH_INIT(iun, unsigned long, unsigned long, 1, hash_func, hash_eq)
static void
test_dict(unsigned long n)
test_dict(size_t n)
{
khash_t(iun) *dict = kh_init(iun);
@@ -137,7 +137,7 @@ static inline size_t char_hash(const char_array_t a) {
KHASH_INIT(iub, char_array_t, char_array_t, 1, char_hash, char_equal_p)
static void
test_dict_big(unsigned long n)
test_dict_big(size_t n)
{
khash_t(iub) *dict = kh_init(iub);