C23 needs a cast here

This commit is contained in:
Andrew Johnson
2025-04-17 10:04:54 -05:00
parent f827bd7e34
commit ad326751fa

View File

@@ -3456,7 +3456,7 @@ void dbDumpDevice(DBBASE *pdbbase,const char *recordTypeName)
" - get_ioint_info()"
};
int i, n = pdevSup->pdset->number;
DEVSUPFUN *pfunc = &pdevSup->pdset->report;
DEVSUPFUN *pfunc = (DEVSUPFUN*) &pdevSup->pdset->report;
printf("\t number: %d\n", n);
for (i = 0; i < n; ++i, ++pfunc) {