summaryrefslogtreecommitdiff
path: root/ext/exif/exif.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/exif/exif.c')
-rw-r--r--ext/exif/exif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index db67531566..e54d508b0e 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -2036,7 +2036,7 @@ typedef struct {
char *valid_end; /* exclusive */
} exif_offset_info;
-static zend_always_inline zend_bool ptr_offset_overflows(char *ptr, size_t offset) {
+static zend_always_inline bool ptr_offset_overflows(char *ptr, size_t offset) {
return UINTPTR_MAX - (uintptr_t) ptr < offset;
}
@@ -2072,7 +2072,7 @@ static inline char *exif_offset_info_try_get(
return start;
}
-static inline zend_bool exif_offset_info_contains(
+static inline bool exif_offset_info_contains(
const exif_offset_info *info, char *start, size_t length) {
char *end;
if (ptr_offset_overflows(start, length)) {
@@ -4478,7 +4478,7 @@ static bool exif_read_from_file(image_info_type *ImageInfo, char *FileName, int
PHP_FUNCTION(exif_read_data)
{
zend_string *z_sections_needed = NULL;
- zend_bool sub_arrays = 0, read_thumbnail = 0, read_all = 0;
+ bool sub_arrays = 0, read_thumbnail = 0, read_all = 0;
zval *stream;
bool ret;
int i, sections_needed = 0;