Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-07-11 22:50:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-11 22:50:07 +0300
commit5c8fc8e505fdfcd82e24dae75e7454b6f7d61530 (patch)
treee6101a8790effc2111985f20dc5ff73cbc443e89 /source/blender/blenlib/intern/BLI_filelist.c
parent8c67b8ffe9fdab6698f20a39d5673b720e3d2756 (diff)
Use const for direntry strings
Diffstat (limited to 'source/blender/blenlib/intern/BLI_filelist.c')
-rw-r--r--source/blender/blenlib/intern/BLI_filelist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_filelist.c b/source/blender/blenlib/intern/BLI_filelist.c
index 786eaa74df8..38a6781c159 100644
--- a/source/blender/blenlib/intern/BLI_filelist.c
+++ b/source/blender/blenlib/intern/BLI_filelist.c
@@ -379,9 +379,9 @@ void BLI_filelist_free(struct direntry *filelist, unsigned int nrentries, void (
IMB_freeImBuf(entry->image);
}
if (entry->relname)
- MEM_freeN(entry->relname);
+ MEM_freeN((void *)entry->relname);
if (entry->path)
- MEM_freeN(entry->path);
+ MEM_freeN((void *)entry->path);
if (entry->poin && free_poin)
free_poin(entry->poin);
}