Skip to content

Commit

Permalink
Fix xplat build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Moore (CHAKRA) committed Jan 5, 2018
1 parent 50677d3 commit 2281a73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Runtime/Library/JavascriptArray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11811,10 +11811,10 @@ namespace Js
if (src->next != nullptr)
{
// Allocate a new segment in the destination and copy from src
src = static_cast<SparseArraySegment<T>*>(src->next);
src = SparseArraySegment<T>::From(src->next);

dst->next = dst->AllocateSegment(GetRecycler(), src->left, src->length, src->size, src->next);
dst = static_cast<SparseArraySegment<T>*>(dst->next);
dst = SparseArraySegment<T>::From(dst->next);

CopyArray(dst->elements, dst->size, src->elements, src->size);
}
Expand Down

0 comments on commit 2281a73

Please sign in to comment.