diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2013-07-23 16:43:09 -0400 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2013-07-23 16:43:09 -0400 |
commit | 5feda743c31c5c8c298b6aad32070572e3f0d045 (patch) | |
tree | c04f41dfbda738c2d3a5e2777ce43fcc0377ae30 | |
parent | e12f7c57ba239f5c3345304e5ad94e2485d321a2 (diff) |
don't use unsigned for getch
-rwxr-xr-x | count_nucleobases.c | 2 |
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': |