@@ -233,11 +233,11 @@ { delegate = delegate_; } - (void)parseBuffer: (const char*)buffer - withLength: (size_t)length + length: (size_t)length { size_t i, last = 0; for (i = 0; i < length; i++) { size_t j = i; @@ -261,11 +261,11 @@ } - (void)parseString: (OFString*)string { [self parseBuffer: [string UTF8String] - withLength: [string UTF8StringLength]]; + length: [string UTF8StringLength]]; } - (void)parseStream: (OFStream*)stream { char *buffer = [self allocMemoryWithSize: of_pagesize]; @@ -274,11 +274,11 @@ while (![stream isAtEndOfStream]) { size_t length = [stream readNBytes: of_pagesize intoBuffer: buffer]; [self parseBuffer: buffer - withLength: length]; + length: length]; } } @finally { [self freeMemory: buffer]; } }