Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drvTip810/drvTip810.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
5 changes: 3 additions & 2 deletions tyGSOctal/tyGSOctal_RTEMS.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down