diff options
Diffstat (limited to 'source/blender/modifiers/intern/MOD_ocean.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_ocean.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_ocean.c b/source/blender/modifiers/intern/MOD_ocean.c index 240b6247cf5..db31ee05201 100644 --- a/source/blender/modifiers/intern/MOD_ocean.c +++ b/source/blender/modifiers/intern/MOD_ocean.c @@ -159,11 +159,11 @@ static void freeData(ModifierData *md) #endif /* WITH_OCEANSIM */ } -static void copyData(ModifierData *md, ModifierData *target) +static void copyData(const ModifierData *md, ModifierData *target) { #ifdef WITH_OCEANSIM #if 0 - OceanModifierData *omd = (OceanModifierData *) md; + const OceanModifierData *omd = (const OceanModifierData *) md; #endif OceanModifierData *tomd = (OceanModifierData *) target; |