Casting through a (void*) to avoid warnings on HP's native C++ compiler. (Found with motorRecord 5.2)

This commit is contained in:
Ralph Lange
2003-12-10 15:11:43 +00:00
parent 943d2d2ac1
commit 03922dd993
+1 -1
View File
@@ -28,7 +28,7 @@ epicsShareExtern typ *EPICS_EXPORT_POBJ(obj); \
epicsShareDef typ *EPICS_EXPORT_POBJ(obj) = (typ *)&obj
#define epicsExportRegistrar(func) \
epicsShareFunc REGISTRAR EPICS_EXPORT_POBJ(func) = (REGISTRAR)&func
epicsShareFunc REGISTRAR EPICS_EXPORT_POBJ(func) = (REGISTRAR)(void*)&func
#ifdef __cplusplus
}