Skip to content

Commit f822036

Browse files
committed
fix warnings
1 parent eaea8e6 commit f822036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proto/network/pxe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl BaseCode {
131131
ty,
132132
layer,
133133
use_bis,
134-
info.map(|info| info as *const DiscoverInfo<[Server]> as *const _),
134+
info.map(|info| (info as *const DiscoverInfo<[Server]>).cast()),
135135
)
136136
.into()
137137
}

0 commit comments

Comments
 (0)