Skip to content

Commit 00a74f0

Browse files
committed
rtl_sdr: units on -n
1 parent 08889ee commit 00a74f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtl_sdr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ int main(int argc, char **argv)
147147
out_block_size = (uint32_t)atof(optarg);
148148
break;
149149
case 'n':
150-
bytes_to_read = (uint32_t)atof(optarg) * 2;
150+
bytes_to_read = (uint32_t)atofs(optarg) * 2;
151151
break;
152152
case 'S':
153153
sync_mode = 1;

0 commit comments

Comments
 (0)