fix signed char extension bugs. from fade@cock.li. ok guenther.
authortedu <tedu@openbsd.org>
Wed, 27 Jul 2016 01:52:03 +0000 (01:52 +0000)
committertedu <tedu@openbsd.org>
Wed, 27 Jul 2016 01:52:03 +0000 (01:52 +0000)
commit7be2669572f77d241ef6195471f504253d20a78a
treef653460fd2ac0dc7ed9fda13afcd69472f562c29
parent810ac3605ebb69f40bc4526e3910b84d9ebe01e1
fix signed char extension bugs. from fade@cock.li. ok guenther.
As a personal remark, I'll add that it's not necessary to cast a value
to a function's return type. The compiler is happy to do that for you.
But such casts can hide warnings and bugs.
usr.bin/printf/printf.c