Skip to content

Commit fdec4da

Browse files
author
Ian Gabaraev
committed
Resolve type warnings
1 parent 84804ce commit fdec4da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utilities/utilities.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ void help() {
8383
printf("\033[1;36m========================================\033[0m\n\n");
8484
};
8585

86-
void set_hostname(const SystemSummary *_s) {
86+
void set_hostname(SystemSummary *_s) {
8787
char name[256];
8888
if (gethostname(name, sizeof(name)) == 0) {
8989
strncpy(_s->hostname, name, sizeof(name) - 1);
9090
}
9191
}
9292

93-
void set_cpu_model(const SystemSummary *_s) {
93+
void set_cpu_model(SystemSummary *_s) {
9494
FILE *f = fopen("/proc/cpuinfo", "r");
9595
char line[256];
9696
if (!f) return;

0 commit comments

Comments
 (0)