aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/codec_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/usrp1/codec_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/codec_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/codec_impl.cpp b/host/lib/usrp/usrp1/codec_impl.cpp
index 766a7948f..1756c1ed4 100644
--- a/host/lib/usrp/usrp1/codec_impl.cpp
+++ b/host/lib/usrp/usrp1/codec_impl.cpp
@@ -54,7 +54,7 @@ void usrp1_impl::rx_codec_get(const wax::obj &key_, wax::obj &val, dboard_slot_t
//handle the get request conditioned on the key
switch(key.as<codec_prop_t>()) {
case CODEC_PROP_NAME:
- val = str(boost::format("usrp1 adc - ad9862 - slot %c") % dboard_slot);
+ val = str(boost::format("usrp1 adc - ad9862 - slot %c") % char(dboard_slot));
return;
case CODEC_PROP_OTHERS:
@@ -114,7 +114,7 @@ void usrp1_impl::tx_codec_get(const wax::obj &key_, wax::obj &val, dboard_slot_t
//handle the get request conditioned on the key
switch(key.as<codec_prop_t>()) {
case CODEC_PROP_NAME:
- val = str(boost::format("usrp1 dac - ad9862 - slot %c") % dboard_slot);
+ val = str(boost::format("usrp1 dac - ad9862 - slot %c") % char(dboard_slot));
return;
case CODEC_PROP_OTHERS: