From ec75303792bfecfcc921295f0f48517b8dc26d35 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Thu, 16 Jun 2016 08:02:11 -0700 Subject: Fixed minor warnings * Mismatched printf format strings * Number truncation * Unreferenced variables --- host/examples/tx_samples_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/examples') diff --git a/host/examples/tx_samples_c.c b/host/examples/tx_samples_c.c index ebf368ec7..c052d80ed 100644 --- a/host/examples/tx_samples_c.c +++ b/host/examples/tx_samples_c.c @@ -189,7 +189,7 @@ int main(int argc, char* argv[]){ buffs_ptr = (const void**)&buff; size_t i = 0; for(i = 0; i < (samps_per_buff*2); i+=2){ - buff[i] = 0.1; + buff[i] = 0.1f; buff[i+1] = 0; } -- cgit v1.2.3