]> granicus.if.org Git - php/commitdiff
Add const to zend_extension_version_info.build_id
authorLevi Morrison <levim@php.net>
Wed, 3 Mar 2021 01:42:58 +0000 (18:42 -0700)
committerLevi Morrison <levim@php.net>
Wed, 3 Mar 2021 01:42:58 +0000 (18:42 -0700)
This is a follow-up to:
https://github.com/php/php-src/commit/3c6ab4b3ea5854fd44a2945bb65bf027a6c94890

Closes GH-6744.

Zend/zend_extensions.h

index 49ce1155484908f3ef8affe2da207ad96174a42c..57c8775092f783e466fc92134c5993f1a6c88bb3 100644 (file)
@@ -48,7 +48,7 @@ You can use the following macro to check the extension API version for compatibi
 
 typedef struct _zend_extension_version_info {
        int zend_extension_api_no;
-       char *build_id;
+       const char *build_id;
 } zend_extension_version_info;
 
 #define ZEND_EXTENSION_BUILD_ID "API" ZEND_TOSTR(ZEND_EXTENSION_API_NO) ZEND_BUILD_TS ZEND_BUILD_DEBUG ZEND_BUILD_SYSTEM ZEND_BUILD_EXTRA