Merge pull request #24 from GVardakis/next

Small change to hex print
This commit is contained in:
Manolis Surligas 2016-05-14 20:22:36 +03:00
commit d973f75307
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ namespace gr {
case 1:
//for(size_t i=0; i< pmt::blob_length(msg); i++)
for (size_t i = 0; i < s.length(); ++i)
std::cout << "0x" << std::hex<< std::setfill('0') << std::setw(2)<< std::dec <<(int)s[i] << " ";
printf("0x%02x ",s[i]);
std::cout<<std::endl;
break;
case 2: