summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2012-07-09 08:55:20 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2012-07-09 08:55:20 +0000
commite810161e1365a54a776d38d6ef820ec99e1219da (patch)
tree19ac240d30155cff5b958be9aaa2da7af5841d75
parent14f21ce02b7b091d4bcd9ca422cc2f883cf503f8 (diff)
Use size_t for the length variable
reminded by Brad, and lteo@
-rw-r--r--usr.sbin/rtadvd/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtadvd/config.c b/usr.sbin/rtadvd/config.c
index 581c4a4de20..53719ec37df 100644
--- a/usr.sbin/rtadvd/config.c
+++ b/usr.sbin/rtadvd/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.28 2012/07/08 10:46:00 phessler Exp $ */
+/* $OpenBSD: config.c,v 1.29 2012/07/09 08:55:19 phessler Exp $ */
/* $KAME: config.c,v 1.62 2002/05/29 10:13:10 itojun Exp $ */
/*
@@ -391,7 +391,7 @@ getconfig(intface)
while ((tmpsl = strsep(&addr, ","))) {
struct dnssldom *dnsd;
- ssize_t len;
+ size_t len;
len = strlen(tmpsl);