summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2014-03-03 02:23:04 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2014-03-03 02:23:04 +0000
commit6f5179e9754132b5866d04c1320f03002774ff4f (patch)
treefefaad7bc3d4441b10423b03a3234439ba876175 /src
parentb658d3a8bf10f86d0630088b562b43e3efbee3eb (diff)
Fix compiling on unusual OS X configurations. [Robert Walsh]
Diffstat (limited to 'src')
-rw-r--r--src/osd/sdl/debugosx.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/sdl/debugosx.m b/src/osd/sdl/debugosx.m
index ca982304fbe..debe5d168e3 100644
--- a/src/osd/sdl/debugosx.m
+++ b/src/osd/sdl/debugosx.m
@@ -829,10 +829,10 @@ void console_create_window(running_machine &machine)
{
NSInteger tag;
for (tag = 1; tag <= 8; tag <<= 1) {
- NSString *title = [NSString stringWithFormat:@"%ld-byte Chunks", tag];
+ NSString *title = [NSString stringWithFormat:@"%ld-byte Chunks", (long)tag];
NSMenuItem *chunkItem = [menu insertItemWithTitle:title
action:@selector(showChunkSize:)
- keyEquivalent:[NSString stringWithFormat:@"%ld", tag]
+ keyEquivalent:[NSString stringWithFormat:@"%ld", (long)tag]
atIndex:index++];
[chunkItem setTarget:self];
[chunkItem setTag:tag];