fix: compile error

This commit is contained in:
anatawa12 2026-05-19 00:29:58 +09:00
commit 4943a671e0
No known key found for this signature in database
GPG key ID: BD2F16922830A7DC

View file

@ -100,7 +100,7 @@ unsafe fn create_temp_file() -> Option<StackPath> {
}
// replace extension
PathRenameExtensionW(temp.as_ptr(), w!(".exe"));
PathRenameExtensionW(temp.as_mut_ptr(), w!(".exe"));
Some(name)
}