diff options
Diffstat (limited to 'source/blender/makesdna/intern/makesdna.c')
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index d1744c6053d..0bdd428bef9 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -191,7 +191,7 @@ static int preprocess_include(char *maindata, int len); /** * Scan this file for serializable types. */ -static int convert_include(char *filename); +static int convert_include(const char *filename); /** * Determine how many bytes are needed for an array. @@ -515,7 +515,7 @@ static int preprocess_include(char *maindata, int len) return newlen; } -static void *read_file_data(char *filename, int *r_len) +static void *read_file_data(const char *filename, int *r_len) { #ifdef WIN32 FILE *fp = fopen(filename, "rb"); @@ -556,7 +556,7 @@ static void *read_file_data(char *filename, int *r_len) return data; } -static int convert_include(char *filename) +static int convert_include(const char *filename) { /* read include file, skip structs with a '#' before it. * store all data in temporal arrays. |