Skip to content

Commit 2317b81

Browse files
committed
Add const to zend_extension_version_info.build_id
This is a follow-up to: php@3c6ab4b Closes phpGH-6744.
1 parent 3a867b9 commit 2317b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_extensions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ You can use the following macro to check the extension API version for compatibi
4848

4949
typedef struct _zend_extension_version_info {
5050
int zend_extension_api_no;
51-
char *build_id;
51+
const char *build_id;
5252
} zend_extension_version_info;
5353

5454
#define ZEND_EXTENSION_BUILD_ID "API" ZEND_TOSTR(ZEND_EXTENSION_API_NO) ZEND_BUILD_TS ZEND_BUILD_DEBUG ZEND_BUILD_SYSTEM ZEND_BUILD_EXTRA

0 commit comments

Comments
 (0)