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/BLI_fileops_types.h | |
parent | 8c67b8ffe9fdab6698f20a39d5673b720e3d2756 (diff) |
Use const for direntry strings
Diffstat (limited to 'source/blender/blenlib/BLI_fileops_types.h')
-rw-r--r-- | source/blender/blenlib/BLI_fileops_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_fileops_types.h b/source/blender/blenlib/BLI_fileops_types.h index 0e6eab687ad..5a1126b05d2 100644 --- a/source/blender/blenlib/BLI_fileops_types.h +++ b/source/blender/blenlib/BLI_fileops_types.h @@ -43,8 +43,8 @@ struct ImBuf; struct direntry { mode_t type; - char *relname; - char *path; + const char *relname; + const char *path; #ifdef WIN32 /* keep in sync with the definition of BLI_stat_t in BLI_fileops.h */ # if defined(_MSC_VER) || defined(__MINGW64__) struct _stat64 s; |