Skip to content

Commit

Permalink
fix: Do not discard const type qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall authored and jwerle committed Nov 8, 2023
1 parent 0c4d04e commit e47d7fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/clib-install.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ int main(int argc, char *argv[]) {
}

if (!root_package) {
char *name = NULL;
const char *name = NULL;
char *json = NULL;
unsigned int i = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/clib-update.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ int main(int argc, char *argv[]) {
}

if (!root_package) {
char *name = NULL;
const char *name = NULL;
char *json = NULL;
unsigned int i = 0;

Expand Down

0 comments on commit e47d7fa

Please sign in to comment.