From 5feda743c31c5c8c298b6aad32070572e3f0d045 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Tue, 23 Jul 2013 16:43:09 -0400 Subject: don't use unsigned for getch --- count_nucleobases.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'count_nucleobases.c') diff --git a/count_nucleobases.c b/count_nucleobases.c index d21a2d2..10fb6fb 100755 --- a/count_nucleobases.c +++ b/count_nucleobases.c @@ -19,7 +19,7 @@ int main(int argc, char **argv) { exit(EXIT_FAILURE); } - unsigned int ch = 0; + int ch = 0; while ((ch = getc(fh)) != EOF) { switch(ch) { case 'A': -- cgit v1.2.3