%hhu = %u in printf-like functions, as "char", "signed char", and

"unsigned char" get upsized to "int" and "unsigned int" when passed to
varargs functions.

svn path=/trunk/; revision=39241
This commit is contained in:
Guy Harris 2011-10-03 07:19:05 +00:00
parent 938bf0a03c
commit 574f05eb2c

View file

@ -634,7 +634,7 @@ dissect_t30_partial_page_request(tvbuff_t *tvb, int offset, packet_info *pinfo,
for (;bit;) {
if (octet & bit) {
++frame_count;
buf_top += g_sprintf(buf_top, "%hhu, ", frame);
buf_top += g_sprintf(buf_top, "%u, ", frame);
}
bit >>= 1;
++frame;