From 447f71b8c97637fc15d479f0ff4cb598e192c66c Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 5 Dec 2019 18:22:16 +0100 Subject: [PATCH] fix compilation of zmq_remote_rx --- lib/examples/zmq_remote_rx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/examples/zmq_remote_rx.c b/lib/examples/zmq_remote_rx.c index 6ce7bdb71..3a5e7f01b 100644 --- a/lib/examples/zmq_remote_rx.c +++ b/lib/examples/zmq_remote_rx.c @@ -224,7 +224,7 @@ static void parse_args(int argc, char **argv) { rf_gain = strtof(argv[optind], NULL); break; case 'm': - rf_recv_frame_size_ms = strtol(argv[optind], NULL); + rf_recv_frame_size_ms = strtol(argv[optind], NULL, 10); break; case 'r': rf_rate = strtof(argv[optind], NULL); @@ -239,7 +239,7 @@ static void parse_args(int argc, char **argv) { zmq_args = argv[optind]; break; case 'A': - nof_rx_antennas = strtol(argv[optind], NULL); + nof_rx_antennas = strtol(argv[optind], NULL, 10); break; default: usage(argv[0]);