Skip to content

Commit

Permalink
Fix ubuntu build break
Browse files Browse the repository at this point in the history
  • Loading branch information
agarwal-sandeep committed Oct 10, 2017
1 parent d7e9d0d commit a2e1959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Runtime/Base/FunctionBody.h
Original file line number Diff line number Diff line change
Expand Up @@ -3794,7 +3794,7 @@ namespace Js

size_t GetCount() const
{
return (size_t)slotArray[EncodedSlotCountSlotIndex];
return ::Math::PointerCastToIntegralTruncate<size_t>(slotArray[EncodedSlotCountSlotIndex]);
}

void SetCount(uint count)
Expand Down

0 comments on commit a2e1959

Please sign in to comment.