diff options
Diffstat (limited to 'btime.c')
-rw-r--r-- | btime.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -168,8 +168,8 @@ static void gen_cookie(char *s) *a++ = 'B'; *a++ = 'T'; for (i = 0; i < COOKIE_RANDOM_PARTS; i++) { - *(int *)a = random(); - a += sizeof(int); + *(int32_t *)a = (int32_t)random(); + a += sizeof(int32_t); } *a = '\n'; } |