Use bool instead of int in _phar_zip_pass

This commit is contained in:
Niels Dossche 2024-05-05 22:09:58 +02:00
parent 7b60f53f07
commit 07e1bcae2f

View file

@ -860,9 +860,9 @@ struct _phar_zip_pass {
php_stream *filefp; php_stream *filefp;
php_stream *centralfp; php_stream *centralfp;
php_stream *old; php_stream *old;
int free_fp;
int free_ufp;
char **error; char **error;
bool free_fp;
bool free_ufp;
}; };
/* perform final modification of zip contents for each file in the manifest before saving */ /* perform final modification of zip contents for each file in the manifest before saving */
static int phar_zip_changed_apply_int(phar_entry_info *entry, void *arg) /* {{{ */ static int phar_zip_changed_apply_int(phar_entry_info *entry, void *arg) /* {{{ */