Perl

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
Home » Development Group »» Perl
  • Change 28142: Two signed array indicies that Coverity spots should be unsigned.

    0 answers - 924 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

    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.

Re: Change 28142: Two signed array indicies that Coverity spots should be unsigned.


max 4000 letters.
Your nickname that display:
In order to stop the spam: 4 + 3 =
SPONSORED
QUESTION

SPONSORED
EMSDN