diff options
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index 3bb60a20fc8..61b773f6016 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -1855,7 +1855,10 @@ const char *BLI_path_basename(const char *path) * * Ignores multiple slashes at any point in the path (including start/end). */ -bool BLI_path_name_at_index(const char *path, const int index, int *r_offset, int *r_len) +bool BLI_path_name_at_index(const char *__restrict path, + const int index, + int *__restrict r_offset, + int *__restrict r_len) { if (index >= 0) { int index_step = 0; |