aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/subdev_spec_c_test.c
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-06-17 14:35:17 -0700
committerMartin Braun <martin.braun@ettus.com>2016-06-17 14:35:17 -0700
commitf693349f12a66cfad2159779757e2ea1d6d483be (patch)
tree1c335011ec094ab03b3faaf892792b60ed3b80c4 /host/tests/subdev_spec_c_test.c
parente103b5e67061c9b22cce2e36cf9b40a8213ecb82 (diff)
parent9cc4e16b77d074c8d416725ead1afb8898007eb3 (diff)
downloaduhd-f693349f12a66cfad2159779757e2ea1d6d483be.tar.gz
uhd-f693349f12a66cfad2159779757e2ea1d6d483be.tar.bz2
uhd-f693349f12a66cfad2159779757e2ea1d6d483be.zip
Merge branch 'maint'
Diffstat (limited to 'host/tests/subdev_spec_c_test.c')
-rw-r--r--host/tests/subdev_spec_c_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/tests/subdev_spec_c_test.c b/host/tests/subdev_spec_c_test.c
index 7663ba357..f69b825a8 100644
--- a/host/tests/subdev_spec_c_test.c
+++ b/host/tests/subdev_spec_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
@@ -71,7 +71,8 @@ int main(){
uhd_subdev_spec_size(subdev_spec2, &size2)
)
if(size1 != size2){
- printf("%s:%d: Sizes do not match. %lu vs. %lu\n", __FILE__, __LINE__, size1, size2);
+ printf("%s:%d: Sizes do not match. %lu vs. %lu\n", __FILE__, __LINE__,
+ (unsigned long)size1, (unsigned long)size2);
return_code = EXIT_FAILURE;
goto free_subdev_spec2;
}