diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-26 18:28:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-26 18:28:56 +0300 |
commit | a12315e4ec1bb3d02a7a4d09afc450745a1784f6 (patch) | |
tree | b78e727307399dd199220c7c69bf3545d4745019 /source/blender/imbuf/intern/thumbs.c | |
parent | 38bd8dcf05aa8d22cc97ba08eec4f7a4b858f696 (diff) |
use const char for return values of getenv().
Diffstat (limited to 'source/blender/imbuf/intern/thumbs.c')
-rw-r--r-- | source/blender/imbuf/intern/thumbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/thumbs.c b/source/blender/imbuf/intern/thumbs.c index 24c5a755aef..1585206bb6b 100644 --- a/source/blender/imbuf/intern/thumbs.c +++ b/source/blender/imbuf/intern/thumbs.c @@ -69,7 +69,7 @@ static int get_thumb_dir( char* dir , ThumbSize size) /* yes, applications shouldn't store data there, but so does GIMP :)*/ SHGetSpecialFolderPath(0, dir, CSIDL_PROFILE, 0); #else - char* home = getenv("HOME"); + const char* home = getenv("HOME"); if (!home) return 0; BLI_strncpy(dir, home, FILE_MAX); #endif |