Browse Source
Replace signed %d format specifiers with unsigned %u when formatting sample rates and channel numbers. The previous format strings passed unsigned int values to %d conversions, which triggered cppcheck invalidPrintfArgType_sint warnings and could result in undefined behavior due to variadic argument type mismatches. Signed-off-by: Robin Getz <rgetz503@gmail.com>chirpmodem-v8.0.0
1 changed files with 5 additions and 5 deletions
Loading…
Reference in new issue