summaryrefslogtreecommitdiff
path: root/ext/soap
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2020-09-07 21:35:48 +0300
committerDmitry Stogov <dmitry@zend.com>2020-09-07 21:35:48 +0300
commit4a2ae84188b904d24c7c26bf2696507c2feb6947 (patch)
treecae51e7d398d5d6d9189b1c754744e972b717380 /ext/soap
parentfd0b39905c299c24941644f22947553e0e009dbf (diff)
downloadphp-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.c2
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;