Commit 80e3e6b9 authored by Adam Wujek's avatar Adam Wujek

include/dump-info: add dump_type_uint8_t

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 58c1938c
......@@ -15,6 +15,7 @@ enum dump_type {
dump_type_char, /* for zero-terminated strings */
dump_type_bina, /* for binary stull in MAC format */
/* normal types follow */
dump_type_uint8_t,
dump_type_uint32_t,
dump_type_uint16_t,
dump_type_int,
......
......@@ -112,6 +112,7 @@ void dump_one_field(void *addr, struct dump_info *info)
case dump_type_Integer8:
case dump_type_Enumeration8:
case dump_type_Boolean:
case dump_type_uint8_t:
printf("%i\n", *(unsigned char *)p);
break;
case dump_type_UInteger16:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment