mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
The original code this app is inspired from uses rand(), which returns a number >= 0. mulberry32() on the other hand can return a negative number, in which case will overflow the accesses in the dirs array. Fix that by forcing the result to be unsigned. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| maze.c | ||