Skip to content

Commit

Permalink
Fix build break on xplat
Browse files Browse the repository at this point in the history
  • Loading branch information
boingoing committed Nov 10, 2017
1 parent bdf3216 commit e22fc92
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 e22fc92

Please sign in to comment.