From 620f58c9f7a6e38cf19aa4a40df5fc17f028b620 Mon Sep 17 00:00:00 2001 From: Jeremy Lorelli Date: Wed, 28 Jan 2026 08:39:19 -0800 Subject: [PATCH 1/2] drvTip810: Fix compile errors with GCC 15 --- drvTip810/drvTip810.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drvTip810/drvTip810.c b/drvTip810/drvTip810.c index eca098e..437b135 100644 --- a/drvTip810/drvTip810.c +++ b/drvTip810/drvTip810.c @@ -556,7 +556,7 @@ static void doCallbacks ( */ static void t810ISR ( - int pdev + void* pdev ) { t810Dev_t *pdevice = (t810Dev_t *) pdev; int intSource = pdevice->pchip->interrupt; @@ -728,7 +728,7 @@ long t810Initialise ( pdevice->busOffCount = 0; status = ipmIntConnect(pdevice->card, pdevice->slot, pdevice->irqNum, - t810ISR, (int)pdevice); + t810ISR, (void*)pdevice); /* The TIP810's intVec register is external to the PCA82C200 chip */ *((epicsUInt8 *) pdevice->pchip + 0x41) = pdevice->irqNum; From 0589bd50a878701b2214bed83f9a09d2d02f064b Mon Sep 17 00:00:00 2001 From: Jeremy Lorelli Date: Wed, 28 Jan 2026 08:41:56 -0800 Subject: [PATCH 2/2] tyGSOctal: Fix compile errors on GCC 15 --- tyGSOctal/tyGSOctal_RTEMS.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tyGSOctal/tyGSOctal_RTEMS.c b/tyGSOctal/tyGSOctal_RTEMS.c index 9a7493c..68737cf 100644 --- a/tyGSOctal/tyGSOctal_RTEMS.c +++ b/tyGSOctal/tyGSOctal_RTEMS.c @@ -50,8 +50,9 @@ rtems_device_major_number tyGsOctalMajor; * Interrupt handler */ static void -tyGSOctalInt(int mod) +tyGSOctalInt(void* pmod) { + int mod = (int)pmod; epicsUInt8 sr, isr; QUAD_TABLE *qt = &tyGSOctalModules[mod]; SCC2698 *regs; @@ -527,7 +528,7 @@ int tyGSOctalModuleInit } if (ipmIntConnect(carrier, slot, int_num, tyGSOctalInt, - tyGSOctalLastModule)) { + (void*)tyGSOctalLastModule)) { printf("%s: Unable to connect ISR", fn_nm); return -1; }