mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fix stupid mistake that only affected interactive mode.
This commit is contained in:
parent
f7d6212b9c
commit
e88da9728f
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@ int zend_stream_getc(zend_file_handle *file_handle TSRMLS_DC)
|
||||||
{
|
{
|
||||||
char buf;
|
char buf;
|
||||||
|
|
||||||
if (zend_stream_read(file_handle, &buf, sizeof(buf) TSRMLS_CC)) {
|
if (file_handle->handle.stream.reader(file_handle->handle.stream.handle, &buf, sizeof(buf) TSRMLS_CC)) {
|
||||||
return buf;
|
return (int)buf;
|
||||||
}
|
}
|
||||||
return EOF;
|
return EOF;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue