Commit: 295ec99499c9061b0b9c1cbfc834b1cc7d7b1290
Parent: 9a4c0385a07a0fca13c4eb28dc5aca56175bb1dd
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-04-28 23:30:24
Tree: bd4a0a85cade8cfa9e96361ac09ce087ffaefdbe

main: Fix comparison of narrow type with wide type in loop condition In a loop condition, comparison of a value of a narrow type with a value of a wide type may result in unexpected behavior if the wider value is sufficiently large (or small). Fixes: https://github.com/bluez/bluez/issues/1213

Diffstat

M src/main.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

View Full Diff | Patch