aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/QueryKit/Source/QKQuery.m
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/QueryKit/Source/QKQuery.m')
-rw-r--r--Frameworks/QueryKit/Source/QKQuery.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/QueryKit/Source/QKQuery.m b/Frameworks/QueryKit/Source/QKQuery.m
index 4be29ae2..bb876006 100644
--- a/Frameworks/QueryKit/Source/QKQuery.m
+++ b/Frameworks/QueryKit/Source/QKQuery.m
@@ -250,7 +250,7 @@ static NSString *QKNoQueryTableException = @"QKNoQueryTable";
*/
- (void)_validateRequiements
{
- if (_queryType == -1) {
+ if (_queryType == (QKQueryType)-1) {
[NSException raise:QKNoQueryTypeException format:@"Attempt to build query with no query type specified."];
}