mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
If the value is negative, we have likely overflowed the available size of the integer container. In which case, rather than slowly counting down, we return the largest logical square root size to allow processing to continue Fixes https://gitlab.com/kicad/code/kicad/-/issues/20947 (cherry picked from commit b47bf99632c8faae8855a86a0a30ef233fd594db)