summaryrefslogtreecommitdiff
path: root/src/format/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/format.c')
-rw-r--r--src/format/format.c2
1 files changed, 1 insertions, 1 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 */