Searched hist:286827 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11.0-release/sys/teken/ | ||
H A D | teken.c | diff 286827 Sun Aug 16 14:08:26 MDT 2015 ed 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 |
Completed in 108 milliseconds