aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/tx_samples_c.c
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2016-09-29 11:56:35 -0700
committerMartin Braun <martin.braun@ettus.com>2016-10-13 17:34:34 -0700
commitb33ff03050fe368c194c1400358c0bbde809da69 (patch)
tree3b625dc92fd023e88de6f37327f2eb1bf188aea4 /host/examples/tx_samples_c.c
parent3e65841e5bcd643a9f390ddae003d48db9e784f4 (diff)
downloaduhd-b33ff03050fe368c194c1400358c0bbde809da69.tar.gz
uhd-b33ff03050fe368c194c1400358c0bbde809da69.tar.bz2
uhd-b33ff03050fe368c194c1400358c0bbde809da69.zip
Fix warning in tx_samples_c.c.
Function needs pointer to size_t type. I suspect using uint64_t could lead to trouble on a 32 bit machine. Signed-off-by: Philip Balister <philip@opensdr.com>
Diffstat (limited to 'host/examples/tx_samples_c.c')
-rw-r--r--host/examples/tx_samples_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/tx_samples_c.c b/host/examples/tx_samples_c.c
index 3c3fcc8fe..f04d4b26c 100644
--- a/host/examples/tx_samples_c.c
+++ b/host/examples/tx_samples_c.c
@@ -206,7 +206,7 @@ int main(int argc, char* argv[]){
// Actual streaming
uint64_t num_acc_samps = 0;
- uint64_t num_samps_sent = 0;
+ size_t num_samps_sent = 0;
while(1) {
if (stop_signal_called) break;