Skip to content
Snippets Groups Projects
Commit d73bf3b1 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

getchar() returns int, not char

CID 319110
parent 09ee8f3d
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ while(l>-1L) {
if(pause && lncntr>=20) {
printf("More (Y/n) ? ");
fflush(stdout);
char ch = getchar();
int ch = getchar();
if(ch == CTRL_C || toupper(ch) == 'N')
break;
printf("\r");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment