mirror of
https://github.com/php/php-src.git
synced 2025-01-19 02:03:47 +08:00
Kill compiler warning
This commit is contained in:
parent
7e8aa50fe0
commit
7892e41645
@ -228,7 +228,7 @@ static int php_iconv_string(const char *in_p, size_t in_len,
|
||||
out_p = out_buf;
|
||||
|
||||
while(in_left > 0) {
|
||||
result = icv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left);
|
||||
result = icv(cd, (const char **)&in_p, &in_left, (char **) &out_p, &out_left);
|
||||
out_size = bsz - out_left;
|
||||
if( result == (size_t)(-1) ) {
|
||||
if( errno == E2BIG && in_left > 0 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user