diff options
-rw-r--r-- | xml2cmp/source/support/list.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xml2cmp/source/support/list.hxx b/xml2cmp/source/support/list.hxx index 80b9e5e647ea..cf949a070e2a 100644 --- a/xml2cmp/source/support/list.hxx +++ b/xml2cmp/source/support/list.hxx @@ -227,7 +227,7 @@ DynamicList<XY>::insert(unsigned pos, XY * const & elem_) return; this->checkSize(this->len+2); - memmove(this->inhalt[pos+1], this->inhalt[pos], (this->len-pos) * sizeof(XY*) ); + memmove(&this->inhalt[pos+1], &this->inhalt[pos], (this->len-pos) * sizeof(XY*) ); this->inhalt[pos] = elem_; this->len++; } @@ -240,7 +240,7 @@ DynamicList<XY>::remove( unsigned pos ) return; this->len--; delete this->inhalt[pos]; - memmove(this->inhalt[pos], this->inhalt[pos+1], (this->len-pos) * sizeof(XY*) ); + memmove(&this->inhalt[pos], &this->inhalt[pos+1], (this->len-pos) * sizeof(XY*) ); } |