Skip to content

Commit 33acade

Browse files
authored
Merge pull request #13 from dozn/main
Fixed Error Due to Introduction of `cstring16` Type to Odin
2 parents 71bad64 + 69c55bd commit 33acade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/pdb/pdb/stackTrace.odin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ parse_stack_trace :: proc(stackTrace: []StackFrame, sameProcess: bool, srcCodeLo
243243
nameBuf : [windows.MAX_PATH]u16
244244
pBuf := &nameBuf[0]
245245
nameLen := windows.GetModuleFileNameW(windows.HMODULE(stackFrame.imgBaseAddr), pBuf, len(nameBuf))
246-
path, err := windows.wstring_to_utf8(pBuf, cast(int)nameLen)
246+
path, err := windows.wstring_to_utf8(windows.wstring(pBuf), cast(int)nameLen)
247247
if err != nil {
248248
continue
249249
}

0 commit comments

Comments
 (0)