aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug/SelfInfo.zig
diff options
context:
space:
mode:
authorJustus Klausecker <justus@klausecker.de>2025-08-03 14:53:52 +0200
committerJustus Klausecker <justus@klausecker.de>2025-08-03 14:59:56 +0200
commit7c35070b901d9181ec3c666480a91eddf6c1abce (patch)
tree74f6eddb4386054ad74aa04b9a506d1ccfb717dc /lib/std/debug/SelfInfo.zig
parent81219493f87b8345446e387e71279d74f35b6824 (diff)
downloadzig-7c35070b901d9181ec3c666480a91eddf6c1abce.tar.gz
zig-7c35070b901d9181ec3c666480a91eddf6c1abce.zip
zig fmt: apply new cast builtin order
Diffstat (limited to 'lib/std/debug/SelfInfo.zig')
-rw-r--r--lib/std/debug/SelfInfo.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/debug/SelfInfo.zig b/lib/std/debug/SelfInfo.zig
index 3e60e86ed3..3f1514a957 100644
--- a/lib/std/debug/SelfInfo.zig
+++ b/lib/std/debug/SelfInfo.zig
@@ -836,7 +836,7 @@ pub const WindowsModule = struct {
pub fn deinit(self: @This()) void {
const process_handle = windows.GetCurrentProcess();
- assert(windows.ntdll.NtUnmapViewOfSection(process_handle, @constCast(@ptrCast(self.section_view.ptr))) == .SUCCESS);
+ assert(windows.ntdll.NtUnmapViewOfSection(process_handle, @ptrCast(@constCast(self.section_view.ptr))) == .SUCCESS);
windows.CloseHandle(self.section_handle);
self.file.close();
}