X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=blobdiff_plain;f=ipaddr.c;h=09eb80df66aaaba86b6ba3c8d8b0e00aaf5da603;hp=d23317c90dd1308b6d5a4c53fec0ec89bcdbd217;hb=150e2cc71f0cd7c8449264b6044169d47e39bb81;hpb=dfda50f69a303d812c046695a0614c0044c531a8 diff --git a/ipaddr.c b/ipaddr.c index d23317c..09eb80d 100644 --- a/ipaddr.c +++ b/ipaddr.c @@ -418,7 +418,7 @@ static struct subnet string_item_to_subnet(item_t *i, cstring_t desc, return s; } -uint32_t string_item_to_ipaddr(item_t *i, cstring_t desc) +uint32_t string_item_to_ipaddr(const item_t *i, cstring_t desc) { uint32_t a, b, c, d; int match;