cleaning commit

shut the warnings GCC was producing for Os X
This commit is contained in:
2004-11-28 12:14:27 +00:00
parent 8e9d54ced0
commit aa6484db87
2 changed files with 13 additions and 7 deletions

View File

@@ -155,8 +155,8 @@ int checkAppleVideoCard() {
inError[0] = 16;
inText[0] = 28;
fprintf(stderr, " vram is %i. not enough, aborting\n", maxvram);
StandardAlert ( kAlertStopAlert, &inError,&inText,NULL,&junkHit);
fprintf(stderr, " vram is %li . not enough, aborting\n", maxvram);
StandardAlert ( kAlertStopAlert, (ConstStr255Param) &inError, (ConstStr255Param)&inText,NULL,&junkHit);
abort();
}
CGLDestroyRendererInfo (rend);
@@ -661,6 +661,10 @@ static int event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr private)
window_handle(win, RESHAPE, 1);
break;
}
case GHOST_kEventUnknown:
case GHOST_kEventQuit:
case GHOST_kNumEventTypes:
break;
}
}