Commit bc468f07 authored by BRAMAS Berenger's avatar BRAMAS Berenger

Give access to attributes buffer as unsigned char and not ValueClass

parent a8df96e2
...@@ -214,12 +214,12 @@ public: ...@@ -214,12 +214,12 @@ public:
/** Give access to the buffer to send the data */ /** Give access to the buffer to send the data */
const unsigned char* getRawAttributesBuffer() const{ const unsigned char* getRawAttributesBuffer() const{
return attributesBuffer; return reinterpret_cast<const unsigned char*>(attributesBuffer);
} }
/** Give access to the buffer to send the data */ /** Give access to the buffer to send the data */
unsigned char* getRawAttributesBuffer(){ unsigned char* getRawAttributesBuffer(){
return attributesBuffer; return reinterpret_cast<unsigned char*>(attributesBuffer);
} }
/** The the size of the allocated buffer */ /** The the size of the allocated buffer */
......
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