Skip to content

Commit e47d7fa

Browse files
hyperupcalljwerle
authored andcommitted
fix: Do not discard const type qualifier
1 parent 0c4d04e commit e47d7fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/clib-install.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ int main(int argc, char *argv[]) {
399399
}
400400

401401
if (!root_package) {
402-
char *name = NULL;
402+
const char *name = NULL;
403403
char *json = NULL;
404404
unsigned int i = 0;
405405

src/clib-update.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ int main(int argc, char *argv[]) {
317317
}
318318

319319
if (!root_package) {
320-
char *name = NULL;
320+
const char *name = NULL;
321321
char *json = NULL;
322322
unsigned int i = 0;
323323

0 commit comments

Comments
 (0)