Skip to content

Commit

Permalink
[MERGE #2976 @rajatd] Fix linux builds in 2.0
Browse files Browse the repository at this point in the history
Merge pull request #2976 from rajatd:fix-linux-build-2.0
  • Loading branch information
rajatd committed May 16, 2017
2 parents 796a580 + fb42d22 commit 34c3ab1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Runtime/Library/JavascriptArray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5253,7 +5253,8 @@ namespace Js

if (hasInlineSegment)
{
SparseArraySegment<T>* headSeg = (SparseArraySegment<T>*)array->head;
SparseArraySegmentBase* headSegBase = array->head;
SparseArraySegment<T>* headSeg = (SparseArraySegment<T>*)headSegBase;

AnalysisAssert(headSeg);
SparseArraySegment<T>* newHeadSeg = SparseArraySegment<T>::template AllocateSegmentImpl<false>(recycler,
Expand Down

0 comments on commit 34c3ab1

Please sign in to comment.