From b33ff03050fe368c194c1400358c0bbde809da69 Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Thu, 29 Sep 2016 11:56:35 -0700 Subject: 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 --- host/examples/tx_samples_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3