https://bugs.kde.org/show_bug.cgi?id=513676

--- Comment #9 from Nate Graham <[email protected]> ---
Git commit 11e5e5c3673266f44ceb43fc929c3e2d78da7f82 by Nate Graham, on behalf
of Harald Sitter.
Committed on 27/01/2026 at 17:40.
Pushed by ngraham into branch 'Plasma/6.6'.

discoverobject: don't impliclity convert signedness

this seems to cause headaches where we endup sending a negative number
into an unsigned.

add a tiny conversion helper that makes sure the values are sound so we
don't underflow. if nothing else it should at least help us understand
when/how exactly things go wrong
(cherry picked from commit e5090761d534f1024c13f70dea0623370ffdeade)

M  +7    -0    discover/CMakeLists.txt
M  +24   -4    discover/DiscoverObject.cpp

https://invent.kde.org/plasma/discover/-/commit/11e5e5c3673266f44ceb43fc929c3e2d78da7f82

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to