aboutsummaryrefslogtreecommitdiffstats
path: root/utils/rds-ctl/rds-ctl.cpp
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-04-23 14:10:36 -0700
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-04-24 14:42:18 +0200
commit10fa9d784d16758d548b28cfb86c8ec9b3fd3f63 (patch)
tree32c0bb45163322ece5a9fc72cabd3beaf9ae21c4 /utils/rds-ctl/rds-ctl.cpp
parentbe490b52bf28cbedd7ffcc0e6806e1f7fa8b4e90 (diff)
utils: fix compilation with C++98
Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/rds-ctl/rds-ctl.cpp')
-rw-r--r--utils/rds-ctl/rds-ctl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp
index 0511fe5d..0e497b2a 100644
--- a/utils/rds-ctl/rds-ctl.cpp
+++ b/utils/rds-ctl/rds-ctl.cpp
@@ -918,7 +918,7 @@ static void get_options(const int fd, const int capabilities, struct v4l2_freque
printf("\tFrequency range : %.1f MHz - %.1f MHz\n",
vt.rangelow / 16.0, vt.rangehigh / 16.0);
printf("\tSignal strength/AFC : %ld%%/%d\n",
- std::lround(vt.signal / 655.35), vt.afc);
+ lround(vt.signal / 655.25), vt.afc);
printf("\tCurrent audio mode : %s\n", audmode2s(vt.audmode));
printf("\tAvailable subchannels: %s\n",
rxsubchans2s(vt.rxsubchans).c_str());

Privacy Policy