diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-15 10:59:42 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-15 11:02:53 +0300 |
commit | 3eae1bfe35fef3e28870f7688b105dfaacd11ca0 (patch) | |
tree | 3138681e7fcf7226d61ff000b333f591fff9cfc8 /source/blender/modifiers/intern/MOD_correctivesmooth.c | |
parent | 5c4295ee6f92a92dbb442b1a6ffd1eb2e9adc57d (diff) |
Cleanup: quiet sign-conversion warning in OFFSETOF_STRUCT_AFTER
BLI_strict_flags.h raised a build error when this macro was used.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_correctivesmooth.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_correctivesmooth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_correctivesmooth.c b/source/blender/modifiers/intern/MOD_correctivesmooth.c index bed88272ee6..c571a881714 100644 --- a/source/blender/modifiers/intern/MOD_correctivesmooth.c +++ b/source/blender/modifiers/intern/MOD_correctivesmooth.c @@ -52,6 +52,8 @@ #endif +#include "BLI_strict_flags.h" + static void initData(ModifierData *md) { CorrectiveSmoothModifierData *csmd = (CorrectiveSmoothModifierData *)md; @@ -63,8 +65,6 @@ static void initData(ModifierData *md) csmd->delta_cache.deltas = NULL; } -#include "BLI_strict_flags.h" - static void copyData(const ModifierData *md, ModifierData *target, const int flag) { const CorrectiveSmoothModifierData *csmd = (const CorrectiveSmoothModifierData *)md; |