Fix [f]getc return value usage in 40_stdio test
commit6b6eea60f3ff5134b990123127d3574955169a4f
authorThomas Preud'homme <robotux@celest.fr>
Thu, 24 Jan 2013 09:55:18 +0000 (24 10:55 +0100)
committerThomas Preud'homme <robotux@celest.fr>
Thu, 24 Jan 2013 09:55:18 +0000 (24 10:55 +0100)
tree91cc1a5294a5fb94b65517e23a4de27ab34dcacd
parentc5892fe4f5b285dddea4ed89edba749e40346d1f
Fix [f]getc return value usage in 40_stdio test

Store [f]getc return value into an int instead of char, as per
prototype. This fix an issue when char is unsigned (as is on arm for
both tcc and gcc).
tests2/40_stdio.c