HomeFreeBSD

MFC r298521;

Description

MFC r298521;
regex: prevent two improbable signed integer overflows.

In matcher() we used an integer to index nsub of type size_t.
In print() we used an integer to index nstates of type sopno,
typedef'd long.
In both cases the indexes never take negative values.

Match the types to avoid any error.

Details

Provenance
pfgAuthored on
Parents
rS298725: MFC r298518:
Branches
Unknown
Tags
Unknown