# Fix socklen_t cast in win32 recvfrom · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/1df993706aaac77455bbd103c8abf88beaf74e6b)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 1df993706aaac77455bbd103c8abf88beaf74e6b

Requested commit: 1df993706aaac77455bbd103c8abf88beaf74e6b

Commit: 1df993706aaac77455bbd103c8abf88beaf74e6b

Tree: 1b385fb8ed719a37b743605355273eb2efd0ecfe

Author: Jens Goldberg

Committer: Andrew Kelley

## Message

```
Fix socklen_t cast in win32 recvfrom

All other uses of `ws2_32.socklen_t` in windows.zig casts the value to an i32. `recvfrom` should do so as well; it currently errors out with `expected type '?*i32', found '?*u32'`.
```

## Parents

- [0a99898b984c1ed98486060129ab441849118d8a](https://git.cafe/gitcafe/zig/commit/0a99898b984c1ed98486060129ab441849118d8a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/1df993706aaac77455bbd103c8abf88beaf74e6b?format=markdown)
