diff options
author | Andreas Kling <kling@serenityos.org> | 2022-09-07 13:25:17 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-07 17:47:33 +0200 |
commit | a42506c8b918ea92d4d91a66dc61aaf14ddd49e6 (patch) | |
tree | 21e3351c7364eeaf6e78af21b1f7e8dcdb1d68f7 /Userland/Libraries/LibWeb/HTML/HTMLParamElement.cpp | |
parent | 21a89b65fc4198e9f6de00cf07d24485bb6623d6 (diff) | |
download | serenity-a42506c8b918ea92d4d91a66dc61aaf14ddd49e6.zip |
LibWeb: Fix three accidental float truncations
We were doing this:
max(0, some_floating_point_value)
This returns an `int` result based on the type of `0`, oops!
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLParamElement.cpp')
0 files changed, 0 insertions, 0 deletions