From: Nicholas Clark <nick@ccl4.org>
Date: Tue, 9 May 2006 16:35:25 +0000 (+0000)
Subject: Two signed array indicies that Coverity spots should be unsigned.
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b56fc9ec2d9f24dd7719ac8ba4c094aaa486bd0e;p=p5sagit%2Fp5-mst-13.2.git

Two signed array indicies that Coverity spots should be unsigned.

p4raw-id: //depot/perl@28142
---

diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 50f3a74..1774703 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -732,7 +732,7 @@ getlflag(termios_ref)
 cc_t
 getcc(termios_ref, ccix)
 	POSIX::Termios	termios_ref
-	int		ccix
+	unsigned int	ccix
     CODE:
 #ifdef I_TERMIOS /* References a termios structure member so ifdef it out. */
 	if (ccix >= NCCS)
@@ -802,7 +802,7 @@ setlflag(termios_ref, lflag)
 void
 setcc(termios_ref, ccix, cc)
 	POSIX::Termios	termios_ref
-	int		ccix
+	unsigned int	ccix
 	cc_t		cc
     CODE:
 #ifdef I_TERMIOS /* References a termios structure member so ifdef it out. */