aladur / flexemu

An MC6809 emulator running FLEX operating system
GNU General Public License v2.0
16 stars 4 forks source link

incorrect fgetc return data type #2

Closed labomb closed 5 years ago

labomb commented 5 years ago

fgetc returns type int, not char. The != comparison for EOF will always be true in read_file with 'c' as char.