Skip to content

Commit

Permalink
Fix for 32bit build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Apr 25, 2024
1 parent 433c971 commit 3004fb6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public class TheMaxProfileSizePropertry
[Fact]
public void ShouldHaveTheCorrectValue()
{
Assert.Equal((ulong)long.MaxValue, ResourceLimits.MaxProfileSize);
var maxProfileSize = Runtime.Is64Bit ? (ulong)long.MaxValue : int.MaxValue;
Assert.Equal(maxProfileSize, ResourceLimits.MaxProfileSize);
}

[Fact]
Expand Down

0 comments on commit 3004fb6

Please sign in to comment.