aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/tx_samples_c.c
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-02-19 14:16:24 -0800
committerMartin Braun <martin.braun@ettus.com>2018-02-19 17:01:40 -0800
commit305d0e79e219b427c6425dab0715ed2132d928b8 (patch)
tree9962f0fd34c1d0488255785cf99243708dec4fb6 /host/examples/tx_samples_c.c
parent21b5f2c6aa88af5488b140da0ef7ed34cc14153f (diff)
downloaduhd-305d0e79e219b427c6425dab0715ed2132d928b8.tar.gz
uhd-305d0e79e219b427c6425dab0715ed2132d928b8.tar.bz2
uhd-305d0e79e219b427c6425dab0715ed2132d928b8.zip
examples: Fix some minor compiler warnings
All warnings reported by MSVC. Mostly related to narrowing conversions.
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 aabf17805..eab061edb 100644
--- a/host/examples/tx_samples_c.c
+++ b/host/examples/tx_samples_c.c
@@ -115,7 +115,7 @@ int main(int argc, char* argv[]){
// Create TX metadata
uhd_tx_metadata_handle md;
EXECUTE_OR_GOTO(free_tx_streamer,
- uhd_tx_metadata_make(&md, false, 0.0, 0.1, true, false)
+ uhd_tx_metadata_make(&md, false, 0, 0.1, true, false)
)
// Create other necessary structs