freebsd-dev/sys/teken
Ed Schouten cd69db4b0e Pick UINT_MAX / 100 as an upperbound.
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
2015-08-16 13:59:11 +00:00
..
demo Add missing 'static' keyword to keep build at WARNS=6 happy. 2015-08-15 08:29:13 +00:00
libteken
stress
gensequences
sequences
teken_scs.h
teken_subr_compat.h
teken_subr.h
teken_wcwidth.h
teken.c Pick UINT_MAX / 100 as an upperbound. 2015-08-16 13:59:11 +00:00
teken.h