Update ggml/src/ggml.c

Co-authored-by: slaren <slarengh@gmail.com>
This commit is contained in:
l3utterfly 2024-07-29 22:43:39 +09:00 committed by GitHub
parent 687f8fdecb
commit a272a7425d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -168,7 +168,7 @@ static void ggml_print_backtrace_symbols(void) {
const int max = 100;
void* buffer[max];
struct BacktraceState state = {buffer, buffer + max};
struct backtrace_state state = {buffer, buffer + max};
_Unwind_Backtrace(unwind_callback, &state);
int count = state.current - buffer;