diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-04 05:12:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-04 05:15:15 +0300 |
commit | 357acd1d5053b2ff9c8a09b9b6ad2e170c10b875 (patch) | |
tree | b741ffc6a2fb113d06ff5b0fe521f6b597bbe1ec /source/blender/datatoc/datatoc_icon.c | |
parent | e43fcc014a288706818d1fa19918511802ff98d9 (diff) |
Cleanup: pass arguments as const
Diffstat (limited to 'source/blender/datatoc/datatoc_icon.c')
-rw-r--r-- | source/blender/datatoc/datatoc_icon.c | 2 |
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)); |