]> granicus.if.org Git - strace/commit
print_fields.h: add PRINT_FIELD_U_CAST
authorEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 5 Jan 2018 19:59:04 +0000 (20:59 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 8 Jan 2018 00:40:22 +0000 (00:40 +0000)
commit03a7b946e2cc28254c5e44959e2be4037b8ef2c6
tree65ff875d62d41c26bdd604d4bc3766cdb5711205
parent45532079c61df63697e6e4b5e6183c4663e0fbf0
print_fields.h: add PRINT_FIELD_U_CAST

Add a macro for printing fields explicitly casted to specific type.
This is useful for bit fields, as otherwise the magic of *_extend_to_*
macros breaks.

* print_field.h (PRINT_FIELD_U_CAST): New macro.
print_fields.h