Typo fix.
This commit is contained in:
parent
6cd0c8c958
commit
8d51f476b2
|
@ -32,7 +32,7 @@ char* sys_maketempfile(const char* prefix, const char* suffix)
|
|||
struct timespec ts;
|
||||
clock_gettime(CLOCK_REALTIME, &ts);
|
||||
|
||||
unsigned int seed = (unsigned int)(uintptr_t)prefix
|
||||
unsigned int seed = (unsigned int)(intptr_t)prefix
|
||||
^ (unsigned int)ts.tv_sec ^ (unsigned int)ts.tv_nsec;
|
||||
const char* tempdir = sys_gettmpdir();
|
||||
|
||||
|
|
Loading…
Reference in a new issue