Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
griff committed Oct 7, 2017
1 parent 82bc7c4 commit 0092c83
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Plugins/AtomicParsley/src/AtomicParsleyPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -938,9 +938,10 @@ void sortTags(NSMutableArray* args, NSDictionary* changes, NSString* tag, NSStri
[dict setObject:arr2 forKey:@"screenwriters"];
}

NSData* xmlData = [NSPropertyListSerialization dataFromPropertyList:dict
format:NSPropertyListXMLFormat_v1_0
errorDescription:NULL];
NSData* xmlData = [NSPropertyListSerialization dataWithPropertyList:dict
format:NSPropertyListXMLFormat_v1_0
options:0
error:NULL];
NSString* movi = [[[NSString alloc] initWithData:xmlData encoding:NSUTF8StringEncoding] autorelease];
[args addObject:movi];
}
Expand Down

0 comments on commit 0092c83

Please sign in to comment.