From 48504bf59d561df988c5d8214f09e012fb617f46 Mon Sep 17 00:00:00 2001 From: Ben Gamari <ben@smart-cactus.org> Date: Wed, 8 May 2019 18:35:26 -0400 Subject: [PATCH] rts: Fix macro parenthesisation --- includes/rts/storage/InfoTables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/rts/storage/InfoTables.h b/includes/rts/storage/InfoTables.h index db50d1613b6..bfa76a6feac 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 -- GitLab