aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcount_nucleobases.c2
1 files changed, 1 insertions, 1 deletions
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':