project_files/HedgewarsMobile/Classes/Appirater.m
branchios-revival
changeset 11148 064a53861759
parent 11137 14f50dde3e8c
--- a/project_files/HedgewarsMobile/Classes/Appirater.m	Thu Sep 10 01:31:52 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/Appirater.m	Thu Sep 10 01:49:15 2015 +0200
@@ -82,11 +82,11 @@
         double secondsUntilPrompt = 60 * 60 * 24 * DAYS_UNTIL_PROMPT;
 
         // get the launch count
-        int launchCount = [userDefaults integerForKey:kAppiraterLaunchCount];
+        NSInteger launchCount = [userDefaults integerForKey:kAppiraterLaunchCount];
         launchCount++;
         [userDefaults setInteger:launchCount forKey:kAppiraterLaunchCount];
         if (APPIRATER_DEBUG)
-            NSLog(@"APPIRATER Launch count: %d", launchCount);
+            NSLog(@"APPIRATER Launch count: %ld", (long)launchCount);
 
         // have they previously declined to rate this version of the app?
         BOOL declinedToRate = [userDefaults boolForKey:kAppiraterDeclinedToRate];