# std.c: Also make Sigaction flags a c_uint for serenity · gitcafe/zig

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

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

Visibility: public

Requested revision: a76851b2ef8f22fb318573b33c973cf768423b5e

Requested commit: a76851b2ef8f22fb318573b33c973cf768423b5e

Commit: a76851b2ef8f22fb318573b33c973cf768423b5e

Tree: 97422f6d7aa453810bc504a2b9d5f64eacdf1c7d

Author: Linus Groh

Committer: Linus Groh

## Message

````
std.c: Also make Sigaction flags a c_uint for serenity

This matches all other platforms. Even if this field is defined as 'int'
in the C definition, the expectation is that the full 32-bit unsigned
integer range can be used. In particular this Sigaction initializer in
the new std.debug code was causing a build failure:

```zig
.flags = (posix.SA.SIGINFO | posix.SA.RESTART | posix.SA.RESETHAND)
```

````

## Parents

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

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