Fixed gcc warning on AArch64

This commit is contained in:
Andrei Pangin
2025-08-06 01:59:58 +01:00
parent a035e3e4d1
commit ca58e81005

View File

@@ -502,7 +502,7 @@ class Recording {
return true;
}
const char* getFeaturesString(char* str, size_t size, StackWalkFeatures f) {
static const char* getFeaturesString(char* str, size_t size, StackWalkFeatures& f) {
snprintf(str, size, "%s %s %s %s %s %s %s %s %s %s %s",
f.unknown_java ? "unknown_java" : "-",
f.unwind_stub ? "unwind_stub" : "-",