# std.hash.int: restore previous behavior · gitcafe/zig

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

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

Visibility: public

Requested revision: d09fd249c090c68f6bba9731572e52f51afa7536

Requested commit: d09fd249c090c68f6bba9731572e52f51afa7536

Commit: d09fd249c090c68f6bba9731572e52f51afa7536

Tree: b4b7746f2dcb932aaac14b295ec775d984ca13c2

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.hash.int: restore previous behavior

In the parent commit, I handled odd bit sizes by upcasting and
truncating. However it seems the else branch is intended to handle
those cases instead, so this commit reverts that behavior.

```

## Parents

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

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