# ensure main return type is not i8 · gitcafe/zig

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

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

Visibility: public

Requested revision: dc7608da973291aafb7a58f33eb65dc3389c123d

Requested commit: dc7608da973291aafb7a58f33eb65dc3389c123d

Commit: dc7608da973291aafb7a58f33eb65dc3389c123d

Tree: ed48626044e19fc8b78e17bf37441d71eda78508

Author: Asherah Connor

Committer: Veikka Tuominen

## Message

```
ensure main return type is not i8

Avoids a compile error from start.zig:

	/home/kivikakk/zig/build/lib/zig/std/start.zig:265:28: error:
	expected type 'u8', found 'i8'
			    return result;
				   ^
	/home/kivikakk/zig/build/lib/zig/std/start.zig:265:28: note:
	unsigned 8-bit int cannot represent all possible signed 8-bit
	values
			    return result;

```

## Parents

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

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