Skip to content

Commit

Permalink
Fix crashtracker tests (linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
gleocadie committed Feb 7, 2025
1 parent 0ffd054 commit 2a946df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void GetLastError(out nint a0, out int a1)
}
public void Panic()
{
var func = (delegate* unmanaged[Stdcall]<IntPtr, out int, int>)*(VTable + 5);
var func = (delegate* unmanaged[Stdcall]<IntPtr, int>)*(VTable + 5);
var result = func(_implementation);
if (result != 0)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ public async Task ReportedStacktrace()

void ValidateStacktrace(JToken callstack)
{
callstack.Should().BeOfType<JArray>();
callstack["frames"].Should().BeOfType<JArray>();

var frames = (JArray)callstack["frames"];

Expand Down

0 comments on commit 2a946df

Please sign in to comment.