X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..591bec8587c71a025bcc83092145b0ef9ffbe944:/lib/random.c diff --git a/lib/random.c b/lib/random.c index 3f8f714..d6be3d9 100644 --- a/lib/random.c +++ b/lib/random.c @@ -75,7 +75,7 @@ void random_get(void *ptr, size_t bytes) { /** @brief Return a random ID string */ char *random_id(void) { - unsigned long words[2]; + uint32_t words[2]; char id[128]; random_get(words, sizeof words);