diff --git a/NewTerminalWindowController.m b/NewTerminalWindowController.m index f6a66eb..f576ada 100644 --- a/NewTerminalWindowController.m +++ b/NewTerminalWindowController.m @@ -133,9 +133,9 @@ enum { { NSMenuItem *item = [_terminalTypeButton selectedItem]; - unsigned tag = [item tag]; + NSUInteger tag = [item tag]; - Class klass = [EmulatorManager emulatorForTag: tag]; + Class klass = [EmulatorManager emulatorForTag: (unsigned)tag]; if (klass) {