mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-29 05:24:18 -04:00
655841008e
Replace signed %ld format specifiers with unsigned %lu conversions when printing values stored as unsigned long. The previous format strings passed unsigned values to signed printf conversions, which could result in undefined behavior due to variadic argument type mismatches. These issues were identified by cppcheck invalidPrintfArgType_sint warnings. Use format specifiers matching the actual argument types to ensure correct and portable printf usage. Signed-off-by: Robin Getz <rgetz503@gmail.com>