try to fix weird gcc compile error

This commit is contained in:
Joseph Eagar 2021-09-20 22:56:02 -07:00
parent 2d473ff4a8
commit 4307c0eb68
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ BrushChannelType *BKE_brush_default_channel_def()
ATTR_NO_OPT void BKE_brush_channel_def_copy(BrushChannelType *dst, BrushChannelType *src)
{
*dst = *src;
memcpy(dst, src, sizeof(*dst));
}
ATTR_NO_OPT BrushChannelType *BKE_brush_builtin_channel_def_find(const char *name)