diff options
author | Maria Matejka <mq@ucw.cz> | 2021-09-14 19:53:03 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-10-13 19:09:04 +0200 |
commit | 6e13df70fdaeb0f08ae5171f62240402501783ea (patch) | |
tree | 21de274fe3c23110cf3becd4a91e2522f2ce7cad /nest/rt-attr.c | |
parent | d471d5fc7ce587ed836ca7fa10a79331bc181d45 (diff) |
Extended route attributes may include also pointers
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r-- | nest/rt-attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 4057bf37..00744bea 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -541,8 +541,8 @@ ea_walk(struct ea_walk_state *s, uint id, uint max) * by calling ea_find() to find the attribute, extracting its value or returning * a provided default if no such attribute is present. */ -int -ea_get_int(ea_list *e, unsigned id, int def) +uintptr_t +ea_get_int(ea_list *e, unsigned id, uintptr_t def) { eattr *a = ea_find(e, id); if (!a) |