Fix type conflict.

This commit is contained in:
Jonathan Schleifer 2011-09-22 15:52:17 +02:00
parent 02fc41d7ae
commit 0972f8ee36

View file

@ -186,7 +186,7 @@ static SSL_CTX *ctx;
}
- (size_t)_readNBytes: (size_t)length
intoBuffer: (char*)buffer
intoBuffer: (void*)buffer
{
ssize_t ret;
@ -224,7 +224,7 @@ static SSL_CTX *ctx;
}
- (void)_writeNBytes: (size_t)length
fromBuffer: (const char*)buffer
fromBuffer: (const void*)buffer
{
if (length > INT_MAX)
@throw [OFOutOfRangeException newWithClass: isa];