# fix\(libzigc\): properly handle EOF in \`ctype\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 65092d6e4c33043fcd7025a1e8190dbeac943882

Requested commit: 65092d6e4c33043fcd7025a1e8190dbeac943882

Commit: 65092d6e4c33043fcd7025a1e8190dbeac943882

Tree: 6d7650cb2f3f46c7fc51a2121873b522a6e33815

Author: GasInfinity

Committer: Alex Rønne Petersen

## Message

```
fix(libzigc): properly handle EOF in `ctype`

* EOF is defined as a negative integer, thus it doesn't fit in an `u8`!

```

## Parents

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

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