Skip to content

Commit

Permalink
Fix linux builds in 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatd committed May 16, 2017
1 parent 796a580 commit fb42d22
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 fb42d22

Please sign in to comment.