diff options
Diffstat (limited to 'src/htslib.c')
-rw-r--r-- | src/htslib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htslib.c b/src/htslib.c index 0ec0148..9c06cd5 100644 --- a/src/htslib.c +++ b/src/htslib.c @@ -2977,7 +2977,7 @@ int finput(T_SOC fd, char *s, int max) { do { //c=fgetc(fp); - if (read(fd, &c, 1) <= 0) { + if (read((int) fd, &c, 1) <= 0) { c = 0; } if (c != 0) { |