From 0b52cac21824935987b4483c8ab007dd9c6dd31d Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Tue, 27 May 2014 18:55:13 +0000 Subject: Cleanup, const correctness --- src/htslib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/htslib.c') 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) { -- cgit v1.2.3