Commit bacd054c authored by Brendan Shanks's avatar Brendan Shanks

macOS: Fix GVAttributeInspectorController.m warning with Xcode 10

parent 544035e0
......@@ -118,7 +118,7 @@
- (void)tableViewSelectionDidChange:(NSNotification *)aNotification
{
int selectedRow = [[aNotification object] selectedRow];
NSInteger selectedRow = [[aNotification object] selectedRow];
NSString* documentation = selectedRow == -1 ? nil : [[[_allSchemas objectForKey:[componentToolbar selectedItemIdentifier]] objectAtIndex: selectedRow] documentation];
[[documentationWeb mainFrame] loadHTMLString:documentation baseURL:[NSURL URLWithString:@"http://www.graphviz.org/"]];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment