mirror of
https://github.com/SciresM/hactool
synced 2025-02-16 19:28:23 +00:00
hfs0: Resolve -Wdiscarded-qualifier warnings
name is only ever assigned via string literals, which can cause warnings, as string literals have a const qualifier associated with them. This is only ever used for information display in console printouts, so this is a safe change to make.
This commit is contained in:
parent
83077e3991
commit
50c164382e
1 changed files with 1 additions and 1 deletions
2
hfs0.h
2
hfs0.h
|
@ -29,7 +29,7 @@ typedef struct {
|
|||
uint64_t size;
|
||||
hactool_ctx_t *tool_ctx;
|
||||
hfs0_header_t *header;
|
||||
char *name;
|
||||
const char *name;
|
||||
} hfs0_ctx_t;
|
||||
|
||||
static inline hfs0_file_entry_t *hfs0_get_file_entry(hfs0_header_t *hdr, uint32_t i) {
|
||||
|
|
Loading…
Add table
Reference in a new issue