diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-29 15:02:04 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-29 15:02:04 +0300 |
commit | 087e95d0fe60be312f08b874b4e37de41309442c (patch) | |
tree | 2517ff5b41405387ce3dbba8c629926ebb388195 /source/blender | |
parent | a02992f1313811c9905e44dc95a0aee31d707f67 (diff) |
Cleanup: correct type for sequencer SWAP macro
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/sequencer/intern/strip_edit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/sequencer/intern/strip_edit.c b/source/blender/sequencer/intern/strip_edit.c index deab43affee..15c472dd5a7 100644 --- a/source/blender/sequencer/intern/strip_edit.c +++ b/source/blender/sequencer/intern/strip_edit.c @@ -80,9 +80,9 @@ int SEQ_edit_sequence_swap(Scene *scene, Sequence *seq_a, Sequence *seq_b, const SWAP(Sequence *, seq_a->prev, seq_b->prev); SWAP(Sequence *, seq_a->next, seq_b->next); - SWAP(int, seq_a->start, seq_b->start); - SWAP(int, seq_a->startofs, seq_b->startofs); - SWAP(int, seq_a->endofs, seq_b->endofs); + SWAP(float, seq_a->start, seq_b->start); + SWAP(float, seq_a->startofs, seq_b->startofs); + SWAP(float, seq_a->endofs, seq_b->endofs); SWAP(int, seq_a->machine, seq_b->machine); seq_time_effect_range_set(scene, seq_a); seq_time_effect_range_set(scene, seq_b); |