@@ -208,7 +208,7 @@ typedef struct _php_conv_base64_encode {
208
208
static php_conv_err_t php_conv_base64_encode_convert (php_conv_base64_encode * inst , const char * * in_p , size_t * in_left , char * * out_p , size_t * out_left );
209
209
static void php_conv_base64_encode_dtor (php_conv_base64_encode * inst );
210
210
211
- static unsigned char b64_tbl_enc [256 ] = {
211
+ static const unsigned char b64_tbl_enc [256 ] = {
212
212
'A' ,'B' ,'C' ,'D' ,'E' ,'F' ,'G' ,'H' ,'I' ,'J' ,'K' ,'L' ,'M' ,'N' ,'O' ,'P' ,
213
213
'Q' ,'R' ,'S' ,'T' ,'U' ,'V' ,'W' ,'X' ,'Y' ,'Z' ,'a' ,'b' ,'c' ,'d' ,'e' ,'f' ,
214
214
'g' ,'h' ,'i' ,'j' ,'k' ,'l' ,'m' ,'n' ,'o' ,'p' ,'q' ,'r' ,'s' ,'t' ,'u' ,'v' ,
@@ -656,7 +656,7 @@ static php_conv_err_t php_conv_qprint_encode_convert(php_conv_qprint_encode *ins
656
656
unsigned int lb_cnt ;
657
657
unsigned int trail_ws ;
658
658
int opts ;
659
- static char qp_digits [] = "0123456789ABCDEF" ;
659
+ static const char qp_digits [] = "0123456789ABCDEF" ;
660
660
661
661
line_ccnt = inst -> line_ccnt ;
662
662
opts = inst -> opts ;
0 commit comments