Fix warnings.

This commit is contained in:
Alexei Svitkine 2012-07-04 22:46:57 -04:00
parent 94fe1df163
commit a7b82a0820
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@
- (NSApplicationTerminateReply) applicationShouldTerminate: (NSApplication *)app - (NSApplicationTerminateReply) applicationShouldTerminate: (NSApplication *)app
{ {
short count; short count;
char *stillRunningMessage; const char *stillRunningMessage;
if ( [thePrefsEditor hasEdited] ) if ( [thePrefsEditor hasEdited] )
if ( ChoiceAlert("Preferences have been edited", if ( ChoiceAlert("Preferences have been edited",

View File

@ -157,7 +157,7 @@ static int prevFlags;
int i; int i;
float seconds; float seconds;
NSDate *startDate; NSDate *startDate;
char *method; const char *method;
if ( ! drawView ) if ( ! drawView )
{ {