test-fileio: avoid warning about ineffective comparison
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Mar 2019 12:43:35 +0000 (13:43 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Mar 2019 13:00:12 +0000 (14:00 +0100)
commitd3bdba381607364d0b3ef9e150fbaa107441cf51
tree4a601a6124ae6bfd3721f04f773fa2113ecbdaeb
parentafd5c1e37365d09648b6f11076d2a42008032ba7
test-fileio: avoid warning about ineffective comparison

On arm64 with gcc-8.2.1-5.fc29.aarch64:
../src/test/test-fileio.c:645:29: warning: comparison is always false due to limited range of data type [-Wtype-limits]
                 assert_se(c == EOF || safe_fgetc(f, &c) == 1);
                             ^~

Casting c to int is not enough, gcc is able to figure out that the original
type was unsigned and still warns. So let's just silence the warning like
in test-sizeof.c.
src/test/test-fileio.c