WaE: pesky aliasing warning with gcc 4.7.0
Change-Id: I78675ba624cf657a246f7d1211bf5075189ac873
This commit is contained in:
parent
07edde2ddd
commit
268ddf9675
1 changed files with 3 additions and 1 deletions
|
@ -1066,8 +1066,10 @@ uno_Sequence* cloneSequence(const uno_Sequence* val, const Type& type)
|
|||
Type _tElem(pTdElem->pWeakRef);
|
||||
for (int i = 0; i < val->nElements; i++)
|
||||
{
|
||||
sal_Int8 *pValBuf = (sal_Int8 *)(&val->elements + i * pTdElem->nSize);
|
||||
|
||||
uno_Sequence* seq = cloneSequence(
|
||||
*(uno_Sequence**) (&val->elements + i * pTdElem->nSize),
|
||||
*(uno_Sequence**) (pValBuf),
|
||||
_tElem);
|
||||
*((uno_Sequence**) pBufCur) = seq;
|
||||
pBufCur += pTdElem->nSize;
|
||||
|
|
Loading…
Reference in a new issue