Skip to content
Snippets Groups Projects
Commit 8f1f8310 authored by Nikita Hovratov's avatar Nikita Hovratov Committed by Christian Kuhn
Browse files

[BUGFIX] Cast return value of method formMaxWidth to int

AbstractFormElement->formMaxWidth declares its
return type as of type int. But the ceil function
returns float. The return value is now cast to int
to prevent unexpected values.

Resolves: #97108
Releases: main, 11.5
Change-Id: I2426a0a1f2bf78ef89ad0eec89158498136b0885
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73830


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 36c827fc
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment