Comparison between signed and unsigned integer
fix: in/outfile may be used uninitialized