fix bad pointer operator for gcc 4 - why did gcc 3.3 even accept that

This commit is contained in:
joshmoz%gmail.com 2005-06-18 18:02:50 +00:00
parent c4dce39279
commit b99a072b0a

View File

@ -100,7 +100,7 @@ ShowProgressUI()
if (sQuit || sProgressVal > 50.0f)
return 0;
NSApplicationMain(1, *sProgramPath);
NSApplicationMain(1, &sProgramPath);
[[NSTimer scheduledTimerWithTimeInterval:TIMER_INTERVAL target:[[[NSApplication sharedApplication] mainWindow] delegate]
selector:@selector(updateProgressUI:)