Skip to content

Commit 2954fc2

Browse files
committed
fix last merge
1 parent d453e07 commit 2954fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/pal/windows/process.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ fn make_proc_thread_attribute_list(
991991
// Therefore, we ensure that we don't add more attributes than the buffer was initialized for.
992992
for (&attribute, value) in attributes.iter().take(attribute_count as usize) {
993993
match value {
994-
let value_ptr = (&raw const *value.data) as _;
994+
ProcThreadAttributeValue::Data(value) => {
995995
let value_ptr = core::ptr::addr_of!(*value.data) as _;
996996
cvt(unsafe {
997997
c::UpdateProcThreadAttribute(

0 commit comments

Comments
 (0)