aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit/MCPFoundationKit/MCPResult.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-01-09 23:45:35 +0000
committerrowanbeentje <rowan@beent.je>2012-01-09 23:45:35 +0000
commit769ea7847b21c4eafcb32b18045b8c6a13e08c0a (patch)
tree7690663cc5283506798f517058aadd907df193db /Frameworks/MCPKit/MCPFoundationKit/MCPResult.m
parent844435db969701bb914094c523e93d775e597df1 (diff)
downloadsequelpro-769ea7847b21c4eafcb32b18045b8c6a13e08c0a.tar.gz
sequelpro-769ea7847b21c4eafcb32b18045b8c6a13e08c0a.tar.bz2
sequelpro-769ea7847b21c4eafcb32b18045b8c6a13e08c0a.zip
- Expicitly cast parameters before passing into NSString formatters assuming 64-bit lengths; this addresses exceptions and hangs viewing table contents on 32-bit machines, many thanks to stuart02 for identifying and tracking down this issue
Diffstat (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPResult.m')
-rw-r--r--Frameworks/MCPKit/MCPFoundationKit/MCPResult.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPResult.m b/Frameworks/MCPKit/MCPFoundationKit/MCPResult.m
index 95a1b6a7..f112a02d 100644
--- a/Frameworks/MCPKit/MCPFoundationKit/MCPResult.m
+++ b/Frameworks/MCPKit/MCPFoundationKit/MCPResult.m
@@ -746,7 +746,7 @@ const OUR_CHARSET our_charsets60[] =
NSMutableDictionary *fieldStructure = [NSMutableDictionary dictionaryWithCapacity:39];
/* Original column position */
- [fieldStructure setObject:[NSString stringWithFormat:@"%llu", i] forKey:@"datacolumnindex"];
+ [fieldStructure setObject:[NSString stringWithFormat:@"%llu", (unsigned long long)i] forKey:@"datacolumnindex"];
/* Name of column */
[fieldStructure setObject:[self stringWithCString:theField[i].name] forKey:@"name"];