summaryrefslogtreecommitdiff
path: root/src/stacktrace_win32-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stacktrace_win32-inl.h')
-rw-r--r--src/stacktrace_win32-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stacktrace_win32-inl.h b/src/stacktrace_win32-inl.h
index a717714..26ae297 100644
--- a/src/stacktrace_win32-inl.h
+++ b/src/stacktrace_win32-inl.h
@@ -62,7 +62,7 @@ typedef USHORT NTAPI RtlCaptureStackBackTrace_Function(
// to worry about someone else holding the loader's lock.
static RtlCaptureStackBackTrace_Function* const RtlCaptureStackBackTrace_fn =
(RtlCaptureStackBackTrace_Function*)
- GetProcAddress(GetModuleHandle("ntdll.dll"), "RtlCaptureStackBackTrace");
+ GetProcAddress(GetModuleHandleA("ntdll.dll"), "RtlCaptureStackBackTrace");
int GetStackTrace(void** result, int max_depth, int skip_count) {
if (!RtlCaptureStackBackTrace_fn) {