Changeset 462 in svn for trunk


Ignore:
Timestamp:
2007-07-29T06:06:46+02:00 (8 years ago)
Author:
Xuefer
Message:

avoid -1 in cov decode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coverager.c

    r404 r462  
    521521
    522522    for (; len >= sizeof(long) * 2; len -= sizeof(long) * 2, p += 2) {
    523         add_index_long(return_value, p[0], p[1]);
     523        add_index_long(return_value, p[0], p[1] < 0 ? 0 : p[1]);
    524524    }
    525525}
Note: See TracChangeset for help on using the changeset viewer.