diff options
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index 0d3b17ace4b..06dc510f8c6 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -1353,9 +1353,9 @@ int BLI_testextensie_glob(const char *str, const char *ext_fnmatch) } -int BLI_replace_extension(char *path, int maxlen, const char *ext) +int BLI_replace_extension(char *path, size_t maxlen, const char *ext) { - unsigned int a; + size_t a; for(a=strlen(path); a>0; a--) { if(path[a-1] == '.' || path[a-1] == '/' || path[a-1] == '\\') { |