Skip to content

Commit 3004fb6

Browse files
committed
Fix for 32bit build.
1 parent 433c971 commit 3004fb6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Magick.NET.Tests/ResourceLimitsTests/TheMaxProfileSizePropertry.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ public class TheMaxProfileSizePropertry
1414
[Fact]
1515
public void ShouldHaveTheCorrectValue()
1616
{
17-
Assert.Equal((ulong)long.MaxValue, ResourceLimits.MaxProfileSize);
17+
var maxProfileSize = Runtime.Is64Bit ? (ulong)long.MaxValue : int.MaxValue;
18+
Assert.Equal(maxProfileSize, ResourceLimits.MaxProfileSize);
1819
}
1920

2021
[Fact]

0 commit comments

Comments
 (0)