cd69db4b0e
The fix that I applied in r286798 is already good, but it assumes that sizeof(int) > sizeof(short). Express the upperbound in terms of UINT_MAX. By dividing that by 100, we're sure that the resulting value is never larger than approximately UINT_MAX / 10, which is safe. PR: 202326 Discussed with: kcwu csie org MFC after: 1 month |
||
---|---|---|
.. | ||
demo | ||
libteken | ||
stress | ||
gensequences | ||
sequences | ||
teken_scs.h | ||
teken_subr_compat.h | ||
teken_subr.h | ||
teken_wcwidth.h | ||
teken.c | ||
teken.h |