From 1a0822bb4520907992b72c7520719b88cabb8d60 Mon Sep 17 00:00:00 2001 From: Chien Wong Date: Sun, 26 Nov 2023 20:21:04 +0800 Subject: [PATCH] drivers/ftdi: fix an incompatible pointer type error Change-Id: Ie86b7fae104aae9b4a74835a615eef302e3a6a03 Signed-off-by: Chien Wong --- src/jtag/drivers/ftdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jtag/drivers/ftdi.c b/src/jtag/drivers/ftdi.c index cebad89793..2473e2a016 100644 --- a/src/jtag/drivers/ftdi.c +++ b/src/jtag/drivers/ftdi.c @@ -1079,7 +1079,7 @@ static void oscan1_reset_online_activate(void) } uint32_t back0 = 0x00; /* CRSCAN=32 */ - oscan1_mpsse_clock_data(mpsse_ctx, NULL, 0, &back0, 0, 32, ftdi_jtag_mode); + oscan1_mpsse_clock_data(mpsse_ctx, NULL, 0, (uint8_t *)&back0, 0, 32, ftdi_jtag_mode); uint32_t to_normal_seq[] = { 0x00000012, 9, /* SDR -> RTI */ 0x00000000, 4, /* Check Packet */