diff --git a/datapool/PoolRawAccessHelper.cpp b/datapool/PoolRawAccessHelper.cpp index fae45b53..e1ae56bf 100644 --- a/datapool/PoolRawAccessHelper.cpp +++ b/datapool/PoolRawAccessHelper.cpp @@ -8,9 +8,9 @@ #include #include -PoolRawAccessHelper::PoolRawAccessHelper(uint8_t * poolIdBuffer_, +PoolRawAccessHelper::PoolRawAccessHelper(uint32_t * poolIdBuffer_, uint8_t numberOfParameters_): - poolIdBuffer(poolIdBuffer_), + poolIdBuffer(reinterpret_cast(poolIdBuffer_)), numberOfParameters(numberOfParameters_), validBufferIndex(0), validBufferIndexBit(1){ } diff --git a/datapool/PoolRawAccessHelper.h b/datapool/PoolRawAccessHelper.h index 25d8b163..e9e9c8ec 100644 --- a/datapool/PoolRawAccessHelper.h +++ b/datapool/PoolRawAccessHelper.h @@ -28,7 +28,7 @@ public: * @param poolIdBuffer_ A buffer of uint32_t pool IDs * @param numberOfParameters_ The number of parameters / pool IDs */ - PoolRawAccessHelper(uint8_t * poolIdBuffer_, uint8_t numberOfParameters_); + PoolRawAccessHelper(uint32_t * poolIdBuffer_, uint8_t numberOfParameters_); virtual ~PoolRawAccessHelper(); /**