Improve some const correctness in RGBASM

This commit is contained in:
Rangi42
2024-03-06 13:53:03 -05:00
parent 585c620945
commit 053aa80951
6 changed files with 18 additions and 13 deletions

View File

@@ -70,11 +70,11 @@ void opt_l(bool warn) {
warnOnLdOpt = warn;
}
void opt_W(char *flag) {
void opt_W(char const *flag) {
processWarningFlag(flag);
}
void opt_Parse(char *s) {
void opt_Parse(char const *s) {
switch (s[0]) {
case 'b':
if (strlen(&s[1]) == 2)