1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-14 19:56:28 +00:00

Fixing mismatched type declaration avoids cast from DLword* to short*

This commit is contained in:
Nick Briggs
2024-05-29 16:52:29 -07:00
parent 68c74e4e79
commit 3ef7d2d68e

View File

@@ -137,7 +137,7 @@ void clear_display(void) {
#else /* COLOR */
void clear_display(void) {
short *word;
DLword *word;
int w, h;
if (MonoOrColor == MONO_SCREEN) {
#ifndef DISPLAYBUFFER
@@ -150,7 +150,7 @@ void clear_display(void) {
0);
#endif /* DISPLAYBUFFER */
} else { /* MonoOrColo is COLOR_SCREEN */
word = (short *)ColorDisplayRegion68k;
word = ColorDisplayRegion68k;
for (h = displayheight; (h--);) {
for (w = DisplayRasterWidth * 8; (w--);) { *word++ = 0; }
} /* end for(h) */