Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Luc Peurière <jlp@nerim.net>2004-11-28 15:14:27 +0300
committerJean-Luc Peurière <jlp@nerim.net>2004-11-28 15:14:27 +0300
commitaa6484db8750bb8d10da3f2b52038da2cedb112f (patch)
treedf846e3aae9c1ff30b14280ab0410edd483c0493 /source/blender/src/ghostwinlay.c
parent8e9d54ced08803fb0c64c03bd75c48dd18ccb675 (diff)
cleaning commit
shut the warnings GCC was producing for Os X
Diffstat (limited to 'source/blender/src/ghostwinlay.c')
-rw-r--r--source/blender/src/ghostwinlay.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c
index c1ed4134ac2..f08085afa06 100644
--- a/source/blender/src/ghostwinlay.c
+++ b/source/blender/src/ghostwinlay.c
@@ -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;
}
}