Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-10-04 05:12:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-04 05:15:15 +0300
commit357acd1d5053b2ff9c8a09b9b6ad2e170c10b875 (patch)
treeb741ffc6a2fb113d06ff5b0fe521f6b597bbe1ec /source/blender/datatoc
parente43fcc014a288706818d1fa19918511802ff98d9 (diff)
Cleanup: pass arguments as const
Diffstat (limited to 'source/blender/datatoc')
-rw-r--r--source/blender/datatoc/datatoc_icon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/datatoc/datatoc_icon.c b/source/blender/datatoc/datatoc_icon.c
index 8a0c7175fee..b4ee1c6d4c9 100644
--- a/source/blender/datatoc/datatoc_icon.c
+++ b/source/blender/datatoc/datatoc_icon.c
@@ -245,7 +245,7 @@ static struct IconInfo *icon_merge_context_info_for_icon_head(struct IconMergeCo
static void icon_merge_context_register_icon(struct IconMergeContext *context,
const char *file_name,
- struct IconHead *icon_head)
+ const struct IconHead *icon_head)
{
context->read_icons = realloc(context->read_icons,
sizeof(struct IconInfo) * (context->num_read_icons + 1));