summaryrefslogtreecommitdiff
path: root/src/format/format.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2013-01-20 15:04:52 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2013-01-20 15:04:52 (GMT)
commit5090dd980ff30e7388e1a70f64c0b6a26ea6244e (patch)
tree1bd634a79857a08c48f0f4df4f347016326e4a07 /src/format/format.c
parent37fd2f1329c56078bc8a8b2fc955aa001c109c01 (diff)
Fixed some GCC warnings.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@327 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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 */