This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: rds-ctl: use strtoul instead of strtol where appropriate Author: Hans Verkuil <[email protected]> Date: Fri Sep 26 10:22:30 2025 +0200 In one case the command line argument was parsed using strtol, even though the argument can never be negative. Change it to strtoul. Signed-off-by: Hans Verkuil <[email protected]> utils/rds-ctl/rds-ctl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=4748343a42caf34a06b9405d5c3a289d3bd6e1b4 diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp index 813b4f282ff0..bff9d041dd88 100644 --- a/utils/rds-ctl/rds-ctl.cpp +++ b/utils/rds-ctl/rds-ctl.cpp @@ -295,13 +295,13 @@ static void parse_freq_seek(char *optarg, struct v4l2_hw_freq_seek &seek) switch (parse_subopt(&subs, subopts, &value)) { case 0: - seek.seek_upward = strtol(value, nullptr, 0); + seek.seek_upward = strtoul(value, nullptr, 0); break; case 1: - seek.wrap_around = strtol(value, nullptr, 0); + seek.wrap_around = strtoul(value, nullptr, 0); break; case 2: - seek.spacing = strtol(value, nullptr, 0); + seek.spacing = strtoul(value, nullptr, 0); break; default: usage_tuner();
