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

Fix new GCC 9.3 warnings.

parent 51779624
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2019 passed
...@@ -129,7 +129,7 @@ int main(int argc, char **argv) ...@@ -129,7 +129,7 @@ int main(int argc, char **argv)
while((ch=fgetc(in))!=EOF && ch != CTRL_Z) { while((ch=fgetc(in))!=EOF && ch != CTRL_Z) {
if(ch=='[' && esc) { /* ANSI escape sequence */ if(ch=='[' && esc) { /* ANSI escape sequence */
if(cols && column >= cols) { if(cols && column >= cols) {
fprintf(out, cond_newline); // Conditional-newline fprintf(out, "%s", cond_newline); // Conditional-newline
column = 0; column = 0;
} }
ni=0; /* zero number index */ ni=0; /* zero number index */
...@@ -297,7 +297,7 @@ int main(int argc, char **argv) ...@@ -297,7 +297,7 @@ int main(int argc, char **argv)
break; break;
default: default:
if(cols && column >= cols) { if(cols && column >= cols) {
fprintf(out, cond_newline); // Conditional-newline fprintf(out, "%s", cond_newline); // Conditional-newline
column = 0; column = 0;
} }
fputc(ch,out); fputc(ch,out);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment