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
@@ -26,7 +26,7 @@ static inline size_t fookeyfunct(const foo_t *r)
NEDTRIE_GENERATE(static, foo_tree_s, foo_s, link, fookeyfunct, NEDTRIE_NOBBLEZEROS(foo_tree_s))
static void
test_dict(unsigned long n)
test_dict(size_t n)
{
foo_tree_t footree;
NEDTRIE_INIT(&footree);
@@ -58,7 +58,7 @@ test_dict(unsigned long n)
}
static void
test_dict_noalloc(unsigned long n)
test_dict_noalloc(size_t n)
{
foo_tree_t footree;
NEDTRIE_INIT(&footree);