summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/siemens/nc_fpga/nc_fpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/siemens/nc_fpga/nc_fpga.c b/src/drivers/siemens/nc_fpga/nc_fpga.c
index 15b3ad338d..ab44e2387b 100644
--- a/src/drivers/siemens/nc_fpga/nc_fpga.c
+++ b/src/drivers/siemens/nc_fpga/nc_fpga.c
@@ -28,7 +28,7 @@
{ \
uint32_t var; \
if (hwilib_get_field(src, (uint8_t *)&var, sizeof(var))) \
- dst = *((typeof(dst) *)var); \
+ dst = ((typeof(dst))var); \
}
static void init_temp_mon (void *base_adr)