diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-07-08 07:58:24 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-07-08 07:58:24 +0000 |
| commit | 634a5f1c0d63f0e43f764f86b4c86de67bda1157 (patch) | |
| tree | 54e17f4e303a7d5e915073c64299a50640450d2d /macosx/PcsxrMemCardController.m | |
| parent | ea095b6ff6b52f2ca53c089ab31d57d9441fec8d (diff) | |
| download | pcsxr-634a5f1c0d63f0e43f764f86b4c86de67bda1157.tar.gz | |
Clang apparently doesn't respond to -falign-loops or -finline-limit. Removing them from OS X project files.
Quiet some warnings about implicit conversion from 64-bit integer to 32-bit in the main app, but only the Cocoa parts.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85897 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrMemCardController.m')
| -rwxr-xr-x | macosx/PcsxrMemCardController.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/PcsxrMemCardController.m b/macosx/PcsxrMemCardController.m index 24cba060..24c43fad 100755 --- a/macosx/PcsxrMemCardController.m +++ b/macosx/PcsxrMemCardController.m @@ -136,7 +136,7 @@ return; } - cardSize = [fromCard memorySizeAtIndex:selectedIndex]; + cardSize = [fromCard memorySizeAtIndex:(int)selectedIndex]; freeConsBlocks = [toCard indexOfFreeBlocksWithSize:cardSize]; availBlocks = [toCard availableBlocks]; if (freeConsBlocks == -1 && availBlocks >= cardSize) { @@ -150,7 +150,7 @@ return; } - [fromCard moveBlockAtIndex:selectedIndex toMemoryCard:toCard]; + [fromCard moveBlockAtIndex:(int)selectedIndex toMemoryCard:toCard]; if (cardnum == 1) { LoadMcd(1, Config.Mcd1); @@ -172,7 +172,7 @@ CreateMcd(Config.Mcd2); LoadMcd(2, Config.Mcd2); } - [self loadMemoryCardInfoForCard:memCardSelect]; + [self loadMemoryCardInfoForCard:(int)memCardSelect]; } } @@ -216,14 +216,14 @@ NSInteger deleteOkay = NSRunAlertPanel(NSLocalizedString(@"Delete Block", nil), NSLocalizedString(@"Deleting a block will remove all saved data on that block.\n\nThis cannot be undone.", nil), NSLocalizedString(@"Cancel", nil), NSLocalizedString(@"Delete", nil), nil); if (deleteOkay == NSAlertAlternateReturn) { - [self deleteMemoryBlocksAtIndex:selectedIndex card:memCardSelect]; + [self deleteMemoryBlocksAtIndex:selectedIndex card:(int)memCardSelect]; if (memCardSelect == 1) { LoadMcd(1, Config.Mcd1); } else { LoadMcd(2, Config.Mcd2); } - [self loadMemoryCardInfoForCard:memCardSelect]; + [self loadMemoryCardInfoForCard:(int)memCardSelect]; } } |
