diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-05-08 18:35:26 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-10-18 15:26:53 -0400 |
commit | 4d674c4e58cf8748108712fa5f034e6363bfde1f (patch) | |
tree | ce3834cd70d706ed522c575fdb105a9ed05a8150 | |
parent | 81d4675eea81314ef0df2a20bf621fb383b6958d (diff) | |
download | haskell-4d674c4e58cf8748108712fa5f034e6363bfde1f.tar.gz |
rts: Fix macro parenthesisationwip/gc/misc-rts
-rw-r--r-- | includes/rts/storage/InfoTables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/storage/InfoTables.h b/includes/rts/storage/InfoTables.h index 4de5207b4d..b97e12982b 100644 --- a/includes/rts/storage/InfoTables.h +++ b/includes/rts/storage/InfoTables.h @@ -355,7 +355,7 @@ typedef struct StgConInfoTable_ { */ #if defined(TABLES_NEXT_TO_CODE) #define GET_CON_DESC(info) \ - ((const char *)((StgWord)((info)+1) + (info->con_desc))) + ((const char *)((StgWord)((info)+1) + ((info)->con_desc))) #else #define GET_CON_DESC(info) ((const char *)(info)->con_desc) #endif |