File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini
7979{
8080 zval token ;
8181 int token_type ;
82- char * last_color = syntax_highlighter_ini -> highlight_html ;
83- char * next_color ;
82+ const char * last_color = syntax_highlighter_ini -> highlight_html ;
83+ const char * next_color ;
8484
8585 zend_printf ("<pre><code style=\"color: %s\">" , last_color );
8686 /* highlight stuff coming back from zendlex() */
Original file line number Diff line number Diff line change 3030
3131
3232typedef struct _zend_syntax_highlighter_ini {
33- char * highlight_html ;
34- char * highlight_comment ;
35- char * highlight_default ;
36- char * highlight_string ;
37- char * highlight_keyword ;
33+ const char * highlight_html ;
34+ const char * highlight_comment ;
35+ const char * highlight_default ;
36+ const char * highlight_string ;
37+ const char * highlight_keyword ;
3838} zend_syntax_highlighter_ini ;
3939
4040
You can’t perform that action at this time.
0 commit comments