Commit ab3bba1d authored by Pavel Vainerman's avatar Pavel Vainerman

Исправил баг в RTUExchange: сделал явное указание преобразования к знаковому числу

(по умолчанию)
parent d4039801
......@@ -1818,7 +1818,7 @@ void RTUExchange::updateRSProperty( RSProperty* p, bool write_only )
IOBase::processingAsDI( p, r->mbval, shm, force );
}
else
IOBase::processingAsAI( p,r->mbval, shm, force );
IOBase::processingAsAI( p, (signed short)r->mbval, shm, force );
}
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment