Fix implementation-defined conversion warning

This commit is contained in:
Niels Dossche 2024-05-05 22:23:39 +02:00
parent e575ab5b77
commit 35f30b388a

View File

@ -372,7 +372,7 @@ static int phar_stream_close(php_stream *stream, int close_handle) /* {{{ */
static ssize_t phar_stream_read(php_stream *stream, char *buf, size_t count) /* {{{ */
{
phar_entry_data *data = (phar_entry_data *)stream->abstract;
size_t got;
ssize_t got;
phar_entry_info *entry;
if (data->internal_file->link) {