diff --git a/src/sinqAxis.h b/src/sinqAxis.h index 9599b54..5d11c75 100644 --- a/src/sinqAxis.h +++ b/src/sinqAxis.h @@ -598,9 +598,8 @@ asynStatus getAxisParamImpl(A *axis, C *controller, const char *indexName, int (C::*func)(), bool *readValue, const char *callerFunctionName, int lineNumber, size_t msgSize, TypeTag) { - return getAxisParamImpl(axis, indexName, func, - static_cast(readValue), callerFunctionName, - lineNumber, msgSize); + return getAxisParamImpl(axis, indexName, func, static_cast<*int>(readValue), + callerFunctionName, lineNumber, msgSize); } template