This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cdf8b6
)
Two signed array indicies that Coverity spots should be unsigned.
author
Nicholas Clark
<nick@ccl4.org>
Tue, 9 May 2006 16:35:25 +0000
(16:35 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Tue, 9 May 2006 16:35:25 +0000
(16:35 +0000)
p4raw-id: //depot/perl@28142
ext/POSIX/POSIX.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/POSIX/POSIX.xs
b/ext/POSIX/POSIX.xs
index
50f3a74
..
1774703
100644
(file)
--- 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. */