diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/posix/mkstemp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/posix/mkstemp.c b/sysdeps/posix/mkstemp.c index 3d8be9cc9c..f0db5d5d53 100644 --- a/sysdeps/posix/mkstemp.c +++ b/sysdeps/posix/mkstemp.c @@ -35,7 +35,7 @@ mkstemp (template) { static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; - static uint32_t value; + static uint64_t value; struct timeval tv; char *XXXXXX; size_t len; @@ -57,7 +57,7 @@ mkstemp (template) for (count = 0; count < TMP_MAX; ++count) { - uint32_t v = value; + uint64_t v = value; int fd; /* Fill in the random bits. */ |