Fix fix on 1991/buzzard

The parameter type of q in function z() should be a 'char *', not a
'char **'.

Added to CSILENCE -Wno-implicit-int.

Note that if including files for abs(3), strlen(3) or other functions
implicitly declared the program will not work (or at least it won't work
if at least one of them is #included?).
This commit is contained in:
Cody Boone Ferguson committed 2023-11-16 03:20:18 -08:00
1 parent beefa8da12
commit 890f59d056
4 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
#include <stdio.h>
#define X(s) (!(s&3)-((s&3)==2))
#define W while
char Z[82][82],A,B,f,g=26;z(q)char**q;{return atoi(q);}m(d,l){return
char Z[82][82],A,B,f,g=26;z(q)char*q;{return atoi(q);}m(d,l){return
Z[ B + X ( f +
3) * d+l *X(f+ 2 )][ A+X ( f ) * d +
l* X ( f + 3 ) ] ;}int