mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
typecast void pointer to char* for pointer arithmetic
This commit is contained in:
parent
3e8303abf0
commit
ecc77c81cc
@ -824,7 +824,7 @@ my_send(int s, void *buf, size_t len)
|
||||
if (sent == -1)
|
||||
return -1;
|
||||
|
||||
buf += sent;
|
||||
buf = (char*) buf + sent;
|
||||
size -= sent;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user