Avoid using C99 '%hh' length modifier
svn path=/trunk/; revision=42904
This commit is contained in:
parent
3f07cc05bc
commit
86dd3248f6
|
@ -59,7 +59,7 @@ static void printnbyte(const guint8* tab,int nb,const char* txt,const char* txt2
|
|||
debugprintf("%s ",txt);
|
||||
for(i=0;i<nb;i++)
|
||||
{
|
||||
debugprintf("%02hhX ",*(tab+i));
|
||||
debugprintf("%02X ",*(tab+i));
|
||||
}
|
||||
debugprintf("%s",txt2);
|
||||
}
|
||||
|
|
|
@ -2392,7 +2392,7 @@ proto_mpeg_descriptor_dissect(tvbuff_t *tvb, guint offset, proto_tree *tree)
|
|||
len = tvb_get_guint8(tvb, offset + 1);
|
||||
|
||||
|
||||
di = proto_tree_add_text(tree, tvb, offset, len + 2, "Descriptor Tag=0x%02hhx", tag);
|
||||
di = proto_tree_add_text(tree, tvb, offset, len + 2, "Descriptor Tag=0x%02x", tag);
|
||||
descriptor_tree = proto_item_add_subtree(di, ett_mpeg_descriptor);
|
||||
|
||||
proto_tree_add_item(descriptor_tree, hf_mpeg_descriptor_tag, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
|
|
|
@ -313,7 +313,7 @@ static void printnbyte(const guint8* tab,int nb,const char* txt,const char* txt2
|
|||
fprintf(stderr,"%s ",txt);
|
||||
for(i=0;i<nb;i++)
|
||||
{
|
||||
fprintf(stderr,"%02hhX ",*(tab+i));
|
||||
fprintf(stderr,"%02X ",*(tab+i));
|
||||
}
|
||||
fprintf(stderr,"%s",txt2);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue