From 07e1bcae2fc965b178acc6a4ca69052cb25bb84c Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sun, 5 May 2024 22:09:58 +0200 Subject: [PATCH] Use bool instead of int in _phar_zip_pass --- ext/phar/zip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/phar/zip.c b/ext/phar/zip.c index 8a8de21783b..db45a0c576e 100644 --- a/ext/phar/zip.c +++ b/ext/phar/zip.c @@ -860,9 +860,9 @@ struct _phar_zip_pass { php_stream *filefp; php_stream *centralfp; php_stream *old; - int free_fp; - int free_ufp; char **error; + bool free_fp; + bool free_ufp; }; /* 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) /* {{{ */