diff options
author | Stefan Schulze Frielinghaus <stefansf@linux.ibm.com> | 2020-07-12 17:28:09 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-07-14 21:33:57 -0400 |
commit | c9f65c369a60467dcaf2b37d5f41f00565b4fe25 (patch) | |
tree | 5f7ffd3bd31a98de5f3125f7f68cf102a7adab0f /includes/stg | |
parent | e0db878a789e58c2a1aba2e73d42857008174124 (diff) | |
download | haskell-c9f65c369a60467dcaf2b37d5f41f00565b4fe25.tar.gz |
rts/Disassembler.c: Use FMT_HexWord for printing values in hex format
Diffstat (limited to 'includes/stg')
-rw-r--r-- | includes/stg/Types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/stg/Types.h b/includes/stg/Types.h index b9bb48228c..696df3e206 100644 --- a/includes/stg/Types.h +++ b/includes/stg/Types.h @@ -76,6 +76,7 @@ typedef uint8_t StgWord8; #define STG_WORD8_MAX UINT8_MAX #define FMT_Word8 PRIu8 +#define FMT_HexWord8 PRIx8 typedef int16_t StgInt16; typedef uint16_t StgWord16; @@ -85,6 +86,7 @@ typedef uint16_t StgWord16; #define STG_WORD16_MAX UINT16_MAX #define FMT_Word16 PRIu16 +#define FMT_HexWord16 PRIx16 typedef int32_t StgInt32; typedef uint32_t StgWord32; |