Animations: Cast to result type before multiplication


Mostly to pacify static code checkers which suspect overflows.

Amends ecbf87890dd446e8e7b4e6f52db89a94b071e4df

Coverity-Id: 480946
Change-Id: I39893c6f9704faaacdd9ec2bb6583324da2f7755
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit6e3100ac76e246db894d3ad3091155c002e0b988
parent3a23655d656434832f097f47ca9058ea0052e653
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeTue, 29 Apr 2025 10:48:18 +0200