summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r--gnuradio-core/src/lib/io/gr_message_debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/io/gr_message_debug.cc b/gnuradio-core/src/lib/io/gr_message_debug.cc
index 27f4c65fd..1327c31ba 100644
--- a/gnuradio-core/src/lib/io/gr_message_debug.cc
+++ b/gnuradio-core/src/lib/io/gr_message_debug.cc
@@ -71,7 +71,7 @@ gr_message_debug::print_verbose(pmt::pmt_t msg)
size_t offset(0);
const uint8_t* d = (const uint8_t*) pmt_uniform_vector_elements(vector, offset);
for(size_t i=0; i<len; i+=16){
- printf("%04x: ", i);
+ printf("%04x: ", ((unsigned int)i));
for(size_t j=i; j<std::min(i+16,len); j++){
printf("%02x ",d[j] );
}