# std: explicitly cast indices to usize · gitcafe/zig

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

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

Visibility: public

Requested revision: 6f220bb7caefbd83493b769addb0a83f8252e132

Requested commit: 6f220bb7caefbd83493b769addb0a83f8252e132

Commit: 6f220bb7caefbd83493b769addb0a83f8252e132

Tree: 1446e4c060f573625092845695f167084beb038f

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: explicitly cast indices to usize

This is needed for platforms where usize=u16, eg. MSP430.

```

## Parents

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

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