Skip to content

Commit bb68202

Browse files
committed
Use size_t instead of uint32_t for the offset
1 parent f3027d5 commit bb68202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/ZendAccelerator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ typedef enum _zend_accel_restart_reason {
112112
typedef struct _zend_accel_skip_list_entry {
113113
/* The offset indicates which byte offset within the memory block must be skipped.
114114
* The size of the skip is equal to the system's pointer size. */
115-
uint32_t offset;
115+
size_t offset;
116116
/* To prevent creating a huge list with a lot of entries, we use a compression scheme
117117
* based on the following two fields. If repetitions > 0, then the checksum algorithm
118118
* will repeat `repetitions` times checksumming `checked_area_size` bytes, followed

0 commit comments

Comments
 (0)