diff --git a/IGHTMLQuery/Classes/IGHTMLDocument.m b/IGHTMLQuery/Classes/IGHTMLDocument.m
index f021592..15efd04 100644
--- a/IGHTMLQuery/Classes/IGHTMLDocument.m
+++ b/IGHTMLQuery/Classes/IGHTMLDocument.m
@@ -50,7 +50,7 @@ - (id)initWithHTMLFragmentData:(NSData *)data encoding:(NSString*)encoding error
return [self initWithHTMLData:data encoding:encoding options:(HTML_PARSE_RECOVER | HTML_PARSE_NOWARNING | HTML_PARSE_NOERROR | HTML_PARSE_NOIMPLIED | HTML_PARSE_NONET) error:outError];
}
-- (id)initWithHTMLData:(NSData *)data encoding:(NSString*)encoding options:(htmlParserOption)options error:(NSError**)outError{
+- (id)initWithHTMLData:(NSData *)data encoding:(NSString*)encoding options:(int)options error:(NSError**)outError{
if ((self = [super init])) {
NSParameterAssert(data);