diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-27 18:55:13 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-27 18:55:13 +0000 |
commit | 0b52cac21824935987b4483c8ab007dd9c6dd31d (patch) | |
tree | c5825af5915f460570200dac4e454630402c627e /src/htslib.c | |
parent | 43b457203b6063716dd7b91e7dfa5583f7c7bef4 (diff) |
Cleanup, const correctness
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) { |