diff options
author | Dmitry Stogov <dmitry@zend.com> | 2020-09-07 21:35:48 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2020-09-07 21:35:48 +0300 |
commit | 4a2ae84188b904d24c7c26bf2696507c2feb6947 (patch) | |
tree | cae51e7d398d5d6d9189b1c754744e972b717380 /ext/soap | |
parent | fd0b39905c299c24941644f22947553e0e009dbf (diff) | |
download | php-git-4a2ae84188b904d24c7c26bf2696507c2feb6947.tar.gz |
Add "const". Move constant strings to read-only memory.
Diffstat (limited to 'ext/soap')
-rw-r--r-- | ext/soap/php_encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index affc771b0b..b3dd853298 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -940,7 +940,7 @@ static xmlNodePtr to_xml_base64(encodeTypePtr type, zval *data, int style, xmlNo static xmlNodePtr to_xml_hexbin(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) { - static char hexconvtab[] = "0123456789ABCDEF"; + static const char hexconvtab[] = "0123456789ABCDEF"; xmlNodePtr ret, text; unsigned char *str; zval tmp; |