Skip to content

Commit

Permalink
Add missing repr(C) to WSABUF (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
repi authored and carllerche committed Oct 9, 2019
1 parent d564f78 commit 837c18e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sys/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ type DWORD = u32;
type ULONG = u32;
type CHAR = i8;

#[repr(C)]
struct WSABUF {
pub len: ULONG,
pub buf: *mut CHAR,
Expand Down

0 comments on commit 837c18e

Please sign in to comment.