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:
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user