Fix type conflict.
This commit is contained in:
parent
02fc41d7ae
commit
0972f8ee36
1 changed files with 2 additions and 2 deletions
|
@ -186,7 +186,7 @@ static SSL_CTX *ctx;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (size_t)_readNBytes: (size_t)length
|
- (size_t)_readNBytes: (size_t)length
|
||||||
intoBuffer: (char*)buffer
|
intoBuffer: (void*)buffer
|
||||||
{
|
{
|
||||||
ssize_t ret;
|
ssize_t ret;
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@ static SSL_CTX *ctx;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)_writeNBytes: (size_t)length
|
- (void)_writeNBytes: (size_t)length
|
||||||
fromBuffer: (const char*)buffer
|
fromBuffer: (const void*)buffer
|
||||||
{
|
{
|
||||||
if (length > INT_MAX)
|
if (length > INT_MAX)
|
||||||
@throw [OFOutOfRangeException newWithClass: isa];
|
@throw [OFOutOfRangeException newWithClass: isa];
|
||||||
|
|
Reference in a new issue