fix compilation of zmq_remote_rx

master
Andre Puschmann 5 years ago
parent 4dbbcaa668
commit 447f71b8c9

@ -224,7 +224,7 @@ static void parse_args(int argc, char **argv) {
rf_gain = strtof(argv[optind], NULL); rf_gain = strtof(argv[optind], NULL);
break; break;
case 'm': case 'm':
rf_recv_frame_size_ms = strtol(argv[optind], NULL); rf_recv_frame_size_ms = strtol(argv[optind], NULL, 10);
break; break;
case 'r': case 'r':
rf_rate = strtof(argv[optind], NULL); rf_rate = strtof(argv[optind], NULL);
@ -239,7 +239,7 @@ static void parse_args(int argc, char **argv) {
zmq_args = argv[optind]; zmq_args = argv[optind];
break; break;
case 'A': case 'A':
nof_rx_antennas = strtol(argv[optind], NULL); nof_rx_antennas = strtol(argv[optind], NULL, 10);
break; break;
default: default:
usage(argv[0]); usage(argv[0]);

Loading…
Cancel
Save