diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2016-06-16 08:02:11 -0700 |
---|---|---|
committer | Nicholas Corgan <nick.corgan@ettus.com> | 2016-06-16 08:02:11 -0700 |
commit | ec75303792bfecfcc921295f0f48517b8dc26d35 (patch) | |
tree | 5fb964cfd16619d5a3724144c7e1dac8be28099b /host/tests/ranges_c_test.c | |
parent | ab8d81bc3372cd17800377717470283401d7aafa (diff) | |
download | uhd-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/tests/ranges_c_test.c')
-rw-r--r-- | host/tests/ranges_c_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/tests/ranges_c_test.c b/host/tests/ranges_c_test.c index da9c86a48..2398588a6 100644 --- a/host/tests/ranges_c_test.c +++ b/host/tests/ranges_c_test.c @@ -1,5 +1,5 @@ // -// Copyright 2015 Ettus Research LLC +// Copyright 2015-2016 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -155,7 +155,7 @@ int main(){ if(size != 2){ fprintf(stderr, "%s:%d: Invalid size: %lu vs. 2", __FILE__, __LINE__, - size); + (unsigned long)size); goto free_meta_range1; } |