From 09db04621e284c109391efe3b0bbc70b26b043b4 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 22 May 2013 00:00:32 +0000 Subject: - Address further Release/Distribution build warnings --- .../Source/SPMySQLConnection Categories/Max Packet Size.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories') 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; -- cgit v1.2.3