mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-06 18:18:43 +00:00
33c94635bf
Multiplication operations where the operands have type `int` but the result is cast to `long` may lead to overflow. Fixes two instances of this problem, by ensuring the operands are cast to `long` during multiplication. This resolves the "Result of integer multiplication cast to long" alerts at https://lgtm.com/projects/g/apache/activemq-artemis/alerts.