Commit dbba6388 authored by A. Wilcox's avatar A. Wilcox

iUI: Appirater: Fix warning by casting properly.

parent 28e0b293
......@@ -98,7 +98,7 @@ NSString *templateReviewURL = @"itms-apps://ax.itunes.apple.com/WebObjects/MZSto
while (appirater == nil)
{
Appirater *temp = [[self alloc] init];
if(!OSAtomicCompareAndSwapPtrBarrier(0x0, temp, &appirater))
if(!OSAtomicCompareAndSwapPtrBarrier(0x0, temp, (void * volatile *)&appirater))
[temp release];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(appWillResignActive) name:@"UIApplicationWillResignActiveNotification" object:nil];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment