Skip to content

Commit 0bfc077

Browse files
committed
There goes old Xcode again... 😩
1 parent 95d29af commit 0bfc077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Frameworks/SPMySQLFramework/Source/SPMySQLResult.m‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ - (NSString *)_lossyStringWithBytes:(const void *)bytes length:(NSUInteger)lengt
344344

345345
//if even that failed we lose.
346346
NSDictionary *info = @{ @"data": [NSData dataWithBytes:bytes length:length] };
347-
NSString *reason = [NSString stringWithFormat:@"Failed to convert byte sequence %@ to string (encoding = %lu)",info[@"data"],stringEncoding];
347+
NSString *reason = [NSString stringWithFormat:@"Failed to convert byte sequence %@ to string (encoding = %lu)",[info objectForKey:@"data"],stringEncoding];
348348
@throw [NSException exceptionWithName:NSInternalInconsistencyException reason:reason userInfo:info];
349349
}
350350

0 commit comments

Comments
 (0)