Commit a02bc458 authored by Grégoire Henry's avatar Grégoire Henry Committed by Juliusz Chroboczek

Fix kernel_route on 64-bit variant of BSD

parent 03dcac30
......@@ -144,8 +144,7 @@ fail:
} while (0)
#define ROUNDUP(a) \
((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long))
((a) > 0 ? (1 + (((a) - 1) | (sizeof(uint32_t) - 1))) : sizeof(uint32_t))
static int old_forwarding = -1;
static int old_accept_redirects = -1;
......
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