mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
typecast void pointer to char* for pointer arithmetic
This commit is contained in:
parent
3e8303abf0
commit
ecc77c81cc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue