mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 09:06:31 +02:00
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user