summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-08-09 13:20:15 +1000
committerGitHub <noreply@github.com>2021-08-09 13:20:15 +1000
commit65e376085356c18382d6a5d8dc54c8461144152e (patch)
tree720c575920a757fae2141e1710c8f63cb46d8661
parentb43c6bc176dcd612ae14f9819a171abe286e92bc (diff)
Fix compilation issue. (#13926)
-rw-r--r--quantum/split_common/transactions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/split_common/transactions.h b/quantum/split_common/transactions.h
index 4306ba1d87..53610d6f8e 100644
--- a/quantum/split_common/transactions.h
+++ b/quantum/split_common/transactions.h
@@ -38,7 +38,7 @@ typedef struct _split_transaction_desc_t {
// Forward declaration for the split transactions
extern split_transaction_desc_t split_transaction_table[NUM_TOTAL_TRANSACTIONS];
-#define split_shmem_offset_ptr(offset) ((void *)(((uint8_t *)split_shmem) + (offset)))
+#define split_shmem_offset_ptr(offset) (((uint8_t *)split_shmem) + (offset))
#define split_trans_initiator2target_buffer(trans) (split_shmem_offset_ptr((trans)->initiator2target_offset))
#define split_trans_target2initiator_buffer(trans) (split_shmem_offset_ptr((trans)->target2initiator_offset))