[Bug 37123] PVS-Studio Error: Double type conversion