Commit 1cebc089 authored by Rusty Russell's avatar Rusty Russell

htable: fix type of htable_type _pick return.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 209a8190
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
return name##_del(ht, elem); \ return name##_del(ht, elem); \
return false; \ return false; \
} \ } \
static inline UNNEEDED bool name##_pick(const struct name *ht, \ static inline UNNEEDED type *name##_pick(const struct name *ht, \
size_t seed, \ size_t seed, \
struct name##_iter *iter) \ struct name##_iter *iter) \
{ \ { \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment