summaryrefslogtreecommitdiff
path: root/sbin/dhclient/kroute.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-04-08 20:16:05 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-04-08 20:16:05 +0000
commit1c03d6c750eea685644f643615d701b3ee2d5689 (patch)
tree95579a196fb18e5521cf55e202afc08dc0b66697 /sbin/dhclient/kroute.c
parent38f4119c070af694b3f971e06bd658f17ba5aa53 (diff)
Reduce the overburden of signed vs unsigned comparisons by sprinkling
'int' -> 'unsigned int' (and visa versa) where obvious. Steal a couple of 'unsigned' -> u_int32_t from reyk@'s dhcrelay tweaks. No intentional functional change.
Diffstat (limited to 'sbin/dhclient/kroute.c')
-rw-r--r--sbin/dhclient/kroute.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/dhclient/kroute.c b/sbin/dhclient/kroute.c
index 1d53f814b51..3c90ee1c06b 100644
--- a/sbin/dhclient/kroute.c
+++ b/sbin/dhclient/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.86 2017/04/05 18:22:31 krw Exp $ */
+/* $OpenBSD: kroute.c,v 1.87 2017/04/08 20:16:04 krw Exp $ */
/*
* Copyright 2012 Kenneth R Westerback <krw@openbsd.org>
@@ -544,8 +544,7 @@ resolv_conf_priority(struct interface_info *ifi)
struct sockaddr_rtlabel *sa_rl;
pid_t pid;
ssize_t len;
- u_int32_t seq;
- int s, rslt, iovcnt = 0;
+ int s, seq, rslt, iovcnt = 0;
rslt = 0;