Corrected variables that set the PaintPlane routine, which had been

changed from returning void to returning int without changing the
type of the variable, thus causing a compiler warning.
This commit is contained in:
Tim Edwards
2021-02-18 15:47:40 -05:00
parent 5b2042d078
commit 2d79e0e0ce
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ drcArrayFunc(scx, arg)
ClientData drcArrayClientData; /* Extra parameter to pass to func. */
PaintResultType (*savedPaintTable)[NT][NT];
PaintResultType (*savedEraseTable)[NT][NT];
void (*savedPaintPlane)();
int (*savedPaintPlane)();
if ((use->cu_xlo == use->cu_xhi) && (use->cu_ylo == use->cu_yhi))
return 2;