diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-09-21 03:45:38 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-09-21 03:45:38 +0000 |
| commit | dd1ad114b17dac74f94d4a02057e017b592216dc (patch) | |
| tree | 4cd003d1620aa10eb337d7b59f746808bfec14ad | |
| parent | 0af4b67eb852807fdde1723a29e15d35994e82dc (diff) | |
| download | pcsxr-dd1ad114b17dac74f94d4a02057e017b592216dc.tar.gz | |
Quiet a warning in 64-bit code while not triggering a similar warning in 32-bit code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79965 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rw-r--r-- | macosx/PcsxrController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/PcsxrController.m b/macosx/PcsxrController.m index 210f12ac..9b56be64 100644 --- a/macosx/PcsxrController.m +++ b/macosx/PcsxrController.m @@ -194,7 +194,7 @@ static NSString *HandleBinCue(NSString *toHandle) - (IBAction)defrost:(id)sender { - NSString *path = [saveStatePath stringByAppendingPathComponent:[NSString stringWithFormat:@"%s-%3.3d.pcsxrstate", CdromId, [sender tag]]]; + NSString *path = [saveStatePath stringByAppendingPathComponent:[NSString stringWithFormat:@"%s-%3.3ld.pcsxrstate", CdromId, (long)[sender tag]]]; [EmuThread defrostAt:path]; } @@ -243,7 +243,7 @@ static NSString *HandleBinCue(NSString *toHandle) if (![EmuThread active] || [EmuThread isRunBios]) return NO; - NSString *path = [saveStatePath stringByAppendingPathComponent:[NSString stringWithFormat:@"%s-%3.3d.pcsxrstate", CdromId, [menuItem tag]]]; + NSString *path = [saveStatePath stringByAppendingPathComponent:[NSString stringWithFormat:@"%s-%3.3ld.pcsxrstate", CdromId, (long)[menuItem tag]]]; return (CheckState((char *)[path fileSystemRepresentation]) == 0); } |
