Patchwork [6/8] libsi: Remove mixed sign comparison in loop condition

login
register
mail settings
Submitter Chuck Lever
Date Oct. 21, 2013, 9:51 p.m.
Message ID <20131021215126.38809.18524.stgit@manray.1015granger.net>
Download mbox | patch
Permalink /patch/285287/
State Accepted
Headers show

Comments

Chuck Lever - Oct. 21, 2013, 9:51 p.m.
Clean up.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 src/libsi/getsrvinfo.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/src/libsi/getsrvinfo.c b/src/libsi/getsrvinfo.c
index c0f433f..5338454 100644
--- a/src/libsi/getsrvinfo.c
+++ b/src/libsi/getsrvinfo.c
@@ -208,8 +208,8 @@  getsrvinfo(const char *srvname, const char *domainname, struct srvinfo **si)
 {
 	unsigned char *msg, *comp_dn;
 	struct srvinfo *results;
-	unsigned short count;
-	int status, i, len;
+	unsigned short count, i;
+	int status, len;
 	char *exp_dn;
 	HEADER *hdr;