summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2024-11-23 20:20:13 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2024-11-23 20:20:13 -0500
commit213686b55c19072f479d751cdfd5965c2c4d5782 (patch)
tree09eb45559a05f24f0b2594f82b626563fff4c545
parent75a4937568d2c771704e015c1851495cb41acb28 (diff)
downloadrockbox-213686b55c.tar.gz
rockbox-213686b55c.zip
[Fix Yellow] skin_parser.c const correctness
Change-Id: Ibc3696d807649c649db68cbdfab19b20391eab71
-rw-r--r--lib/skin_parser/skin_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/skin_parser/skin_parser.c b/lib/skin_parser/skin_parser.c
index b8ec6d050f..69b646c406 100644
--- a/lib/skin_parser/skin_parser.c
+++ b/lib/skin_parser/skin_parser.c
@@ -499,10 +499,10 @@ static int skin_parse_tag(struct skin_element* element, const char** document)
{
const char* cursor = *document + 1;
const char* bookmark;
- char *open_square_bracket = NULL;
+ const char *open_square_bracket = NULL;
char tag_name[MAX_TAG_LENGTH];
- char* tag_args;
+ const char* tag_args;
const struct tag_info *tag;
struct skin_tag_parameter* params = NULL;