svn commit: r295244 - user/ngie/bsnmp_cleanup/usr.sbin/bsnmpd/tools/bsnmptools
Garrett Cooper
ngie at FreeBSD.org
Thu Feb 4 08:55:00 UTC 2016
Author: ngie
Date: Thu Feb 4 08:54:59 2016
New Revision: 295244
URL: https://svnweb.freebsd.org/changeset/base/295244
Log:
Cast `rc` to uint32_t to mute a -Wsign-compare warning
Modified:
user/ngie/bsnmp_cleanup/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
Modified: user/ngie/bsnmp_cleanup/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
==============================================================================
--- user/ngie/bsnmp_cleanup/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c Thu Feb 4 08:52:49 2016 (r295243)
+++ user/ngie/bsnmp_cleanup/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c Thu Feb 4 08:54:59 2016 (r295244)
@@ -500,7 +500,7 @@ snmptool_walk(struct snmp_toolinfo *snmp
outputs += rc;
snmp_pdu_free(&resp);
- if (rc < resp.nbindings)
+ if ((uint32_t)rc < resp.nbindings)
break;
snmpwalk_nextpdu_create(op,
More information about the svn-src-user
mailing list