SHA256
1
0
forked from pool/gzdoom
gzdoom/0001-Make-JitCaptureStackTrace-match-its-declaration.patch

26 lines
897 B
Diff

From 6649495f011185948115f00ee7797277848f90e7 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 4 Jul 2022 11:02:15 +0200
Subject: [PATCH] Make JitCaptureStackTrace match its declaration
---
src/common/scripting/vm/vmframe.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/scripting/vm/vmframe.cpp b/src/common/scripting/vm/vmframe.cpp
index 6cb03be43..476b945c2 100644
--- a/src/common/scripting/vm/vmframe.cpp
+++ b/src/common/scripting/vm/vmframe.cpp
@@ -56,7 +56,7 @@ CUSTOM_CVAR(Bool, vm_jit, true, CVAR_NOINITCALL)
}
#else
CVAR(Bool, vm_jit, false, CVAR_NOINITCALL|CVAR_NOSET)
-FString JitCaptureStackTrace(int framesToSkip, bool includeNativeFrames) { return FString(); }
+FString JitCaptureStackTrace(int framesToSkip, bool includeNativeFrames, int maxFrames) { return FString(); }
void JitRelease() {}
#endif
--
2.36.1