From 0bfc0776d1d66f3eb8ac3eb21a8868e095c1c5e6 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 25 Jun 2015 03:54:39 +0200 Subject: =?UTF-8?q?There=20goes=20old=20Xcode=20again...=20=F0=9F=98=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frameworks/SPMySQLFramework/Source/SPMySQLResult.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Frameworks') diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLResult.m b/Frameworks/SPMySQLFramework/Source/SPMySQLResult.m index 421f0435..5b14dc20 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLResult.m +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLResult.m @@ -344,7 +344,7 @@ static id NSNullPointer; //if even that failed we lose. NSDictionary *info = @{ @"data": [NSData dataWithBytes:bytes length:length] }; - NSString *reason = [NSString stringWithFormat:@"Failed to convert byte sequence %@ to string (encoding = %lu)",info[@"data"],stringEncoding]; + NSString *reason = [NSString stringWithFormat:@"Failed to convert byte sequence %@ to string (encoding = %lu)",[info objectForKey:@"data"],stringEncoding]; @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:reason userInfo:info]; } -- cgit v1.2.3