aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2016-06-16 08:02:11 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2016-06-16 08:02:11 -0700
commitec75303792bfecfcc921295f0f48517b8dc26d35 (patch)
tree5fb964cfd16619d5a3724144c7e1dac8be28099b /host/examples
parentab8d81bc3372cd17800377717470283401d7aafa (diff)
downloaduhd-ec75303792bfecfcc921295f0f48517b8dc26d35.tar.gz
uhd-ec75303792bfecfcc921295f0f48517b8dc26d35.tar.bz2
uhd-ec75303792bfecfcc921295f0f48517b8dc26d35.zip
Fixed minor warnings
* Mismatched printf format strings * Number truncation * Unreferenced variables
Diffstat (limited to 'host/examples')
-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 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;
}