diff options
author | rowanbeentje <rowan@beent.je> | 2013-05-22 00:00:32 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2013-05-22 00:00:32 +0000 |
commit | 09db04621e284c109391efe3b0bbc70b26b043b4 (patch) | |
tree | b3d81290c99d96eb207a0b0352c2481b7bfb6839 /Frameworks/SPMySQLFramework | |
parent | 2737ac00c38513d976fda08104a5014221b0c99c (diff) | |
download | sequelpro-09db04621e284c109391efe3b0bbc70b26b043b4.tar.gz sequelpro-09db04621e284c109391efe3b0bbc70b26b043b4.tar.bz2 sequelpro-09db04621e284c109391efe3b0bbc70b26b043b4.zip |
- Address further Release/Distribution build warnings
Diffstat (limited to 'Frameworks/SPMySQLFramework')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Max Packet Size.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Max Packet Size.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Max Packet Size.m index 867b7fba..47986ba1 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Max Packet Size.m +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Max Packet Size.m @@ -78,7 +78,7 @@ if (newMaxSize > (1024 * 1024 * 1024)) newMaxSize = 1024 * 1024 * 1024; // Perform a standard query to set the new size - [self queryString:[NSString stringWithFormat:@"SET GLOBAL max_allowed_packet = %lu", newMaxSize]]; + [self queryString:[NSString stringWithFormat:@"SET GLOBAL max_allowed_packet = %lu", (unsigned long)newMaxSize]]; // On failure, return NSNotFound - error state will have automatically been set if ([self queryErrored]) return NSNotFound; |