diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-11 22:50:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-11 22:50:07 +0300 |
commit | 5c8fc8e505fdfcd82e24dae75e7454b6f7d61530 (patch) | |
tree | e6101a8790effc2111985f20dc5ff73cbc443e89 /source/blender/blenlib/intern | |
parent | 8c67b8ffe9fdab6698f20a39d5673b720e3d2756 (diff) |
Use const for direntry strings
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/BLI_filelist.c | 4 |
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); } |