diff options
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/format.c | 2 | ||||
-rw-r--r-- | src/format/format.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/format/format.c b/src/format/format.c index b7ec199..846d038 100644 --- a/src/format/format.c +++ b/src/format/format.c @@ -486,7 +486,7 @@ bool init_all_formats(void) * * ******************************************************************************/ -GBinFormat *load_new_format(FormatType type, char *filename, bin_t **content, off_t *length) +GBinFormat *load_new_format(FormatType type, const char *filename, bin_t **content, off_t *length) { GBinFormat *result; /* Adresse à retourner */ char *tmp; /* Nom de fichier modifiable */ diff --git a/src/format/format.h b/src/format/format.h index f0489e9..2fc1db0 100644 --- a/src/format/format.h +++ b/src/format/format.h @@ -120,7 +120,7 @@ typedef GBinFormat * (* format_load_fc) (const bin_t *, off_t); bool init_all_formats(void); /* Charge si possible un nouveau format binaire. */ -GBinFormat *load_new_format(FormatType, char *filename, bin_t **, off_t *); +GBinFormat *load_new_format(FormatType, const char *filename, bin_t **, off_t *); |