Skip to content

Commit

Permalink
Fix type of function parameters.
Browse files Browse the repository at this point in the history
This fixes a problem that caused a compile-time error when trying to
compile the device support with older releases of EPICS Base that did
not define the aodset type yet.
  • Loading branch information
smarsching committed Jun 28, 2021
1 parent 93412e4 commit 292569e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mrfApp/mrfEpicsSrc/mrfRecordDefinitions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ epicsExportAddress(dset, devAiMrf);
#ifndef HAS_aodset
typedef struct aodset {
dset common;
long (*write_ao)(aiRecord *prec);
long (*special_linconv)(aiRecord *prec, int after);
long (*write_ao)(aoRecord *prec);
long (*special_linconv)(aoRecord *prec, int after);
} aodset;
#endif // HAS_aodset
aodset devAoMrf = {
Expand Down

0 comments on commit 292569e

Please sign in to comment.