random-state: use portable solution
authorDaniel Kochmański <daniel@turtleware.eu>
Tue, 22 Sep 2015 18:36:20 +0000 (20:36 +0200)
committerDaniel Kochmański <daniel@turtleware.eu>
Tue, 22 Sep 2015 18:36:20 +0000 (20:36 +0200)
commitf1dda6384ca828e5f439de4ec7ed6e94070d44cb
tree36a512a3c5c25626ba1ab690a71fb92adc90f862
parent91e04ba339d3e90e8a5e658fc1a80b08a9a510de
random-state: use portable solution

This results in twice as big array as we could use if uint32_t was
granted with C99 - half of the bytes on 64 bit platforms are filled
with 0. Despite that it's clean and portable solution without
immediate imposing dependency on C99.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
src/c/hash.d
src/c/num_rand.d