remove needless pointer casts
This commit is contained in:
1 parent
0648f31d4a
commit
58debe99ed
111 files changed
+375
-375
No files matched your search
@@ -85,7 +85,7 @@ static long add_record(dbCommon *pcommon)
|
||||
if (plink->type != PV_LINK) {
|
||||
long status = S_db_badField;
|
||||
|
||||
recGblRecordError(status, (void *)prec,
|
||||
recGblRecordError(status, prec,
|
||||
"devMbbiDirectSoftCallback (add_record) Illegal INP field");
|
||||
return status;
|
||||
}
|
||||
@@ -94,7 +94,7 @@ static long add_record(dbCommon *pcommon)
|
||||
if (!chan) {
|
||||
long status = S_db_notFound;
|
||||
|
||||
recGblRecordError(status,(void *)prec,
|
||||
recGblRecordError(status, prec,
|
||||
"devMbbiDirectSoftCallback (add_record) linked record not found");
|
||||
return status;
|
||||
}
|
||||
@@ -103,7 +103,7 @@ static long add_record(dbCommon *pcommon)
|
||||
if (!pdevPvt) {
|
||||
long status = S_db_noMemory;
|
||||
|
||||
recGblRecordError(status, (void *)prec,
|
||||
recGblRecordError(status, prec,
|
||||
"devMbbiDirectSoftCallback (add_record) out of memory, calloc() failed");
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user