From 8d51f476b2331f0d174b355df4f0d5e3022e4bfa Mon Sep 17 00:00:00 2001 From: David Given Date: Mon, 18 Jul 2022 22:30:23 +0200 Subject: [PATCH] Typo fix. --- modules/src/system/maketempfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/src/system/maketempfile.c b/modules/src/system/maketempfile.c index 6890ab137..8878a5a96 100644 --- a/modules/src/system/maketempfile.c +++ b/modules/src/system/maketempfile.c @@ -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();