Change 28142 by nicholas@entropy on 2006/05/09 16:35:25
Two signed array indicies that Coverity spots should be unsigned.
Affected files
//depot/perl/ext/PSIX/PSIX.xs#143 edit
Differences
//depot/perl/ext/PSIX/PSIX.xs#143 (text)
Index: perl/ext/PSIX/PSIX.xs
perl/ext/PSIX/PSIX.xs#142~27440~2006-03-09 08:03:21.000000000 -0800
perl/ext/PSIX/PSIX.xs2006-05-09 09:35:25.000000000 -0700
@@ -732,7 +732,7 @@
cc_t
getcc(termios_ref, ccix)
PSIX::Termiostermios_ref
-intccix
+unsigned intccix
CDE:
#ifdef I_TERMIS /* References a termios structure member so ifdef it out. */
if (ccix >= NCCS)
@@ -802,7 +802,7 @@
void
setcc(termios_ref, ccix, cc)
PSIX::Termiostermios_ref
-intccix
+unsigned intccix
cc_tcc
CDE:
#ifdef I_TERMIS /* References a termios structure member so ifdef it out. */
End of Patch.