Index: libcfa/src/concurrency/invoke.h
===================================================================
--- libcfa/src/concurrency/invoke.h	(revision bdce852941b067571ca3876cdcd3c249e5a8aae1)
+++ libcfa/src/concurrency/invoke.h	(revision 7812a7b58de49d3c24921120d935d3f6008cfc21)
@@ -60,5 +60,5 @@
 				__uint128_t rand_seed;
 			#else
-				uint64 rand_seed;
+				uint64_t rand_seed;
 			#endif
 		} kernelTLS __attribute__ ((tls_model ( "initial-exec" )));
Index: libcfa/src/concurrency/io.cfa
===================================================================
--- libcfa/src/concurrency/io.cfa	(revision bdce852941b067571ca3876cdcd3c249e5a8aae1)
+++ libcfa/src/concurrency/io.cfa	(revision 7812a7b58de49d3c24921120d935d3f6008cfc21)
@@ -505,5 +505,5 @@
 			/* paranoid */ verify(&cqe);
 
-			struct io_user_data * data = (struct io_user_data *)cqe.user_data;
+			struct io_user_data * data = (struct io_user_data *)(uintptr_t)cqe.user_data;
 			__cfadbg_print_safe( io, "Kernel I/O : Performed reading io cqe %p, result %d for %p\n", data, cqe.res, data->thrd );
 
@@ -831,5 +831,5 @@
 		(this){ opcode, fd };
 		this.off = off;
-		this.addr = (uint64_t)addr;
+		this.addr = (uint64_t)(uintptr_t)addr;
 		this.len = len;
 	}
@@ -845,9 +845,9 @@
 		struct io_uring_sqe * sqe; \
 		uint32_t idx; \
-		[sqe, idx] = __submit_alloc( ring, (uint64_t)&data );
+		[sqe, idx] = __submit_alloc( ring, (uint64_t)(uintptr_t)&data );
 
 	#define __submit_wait \
 		/*__cfaabi_bits_print_safe( STDERR_FILENO, "Preparing user data %p for %p\n", &data, data.thrd );*/ \
-		verify( sqe->user_data == (uint64_t)&data ); \
+		verify( sqe->user_data == (uint64_t)(uintptr_t)&data ); \
 		__submit( ring, idx ); \
 		park( __cfaabi_dbg_ctx ); \
Index: libcfa/src/concurrency/kernel_private.hfa
===================================================================
--- libcfa/src/concurrency/kernel_private.hfa	(revision bdce852941b067571ca3876cdcd3c249e5a8aae1)
+++ libcfa/src/concurrency/kernel_private.hfa	(revision 7812a7b58de49d3c24921120d935d3f6008cfc21)
@@ -92,12 +92,8 @@
 
 static inline uint64_t __tls_rand() {
-	// kernelTLS.rand_seed ^= kernelTLS.rand_seed << 6;
-	// kernelTLS.rand_seed ^= kernelTLS.rand_seed >> 21;
-	// kernelTLS.rand_seed ^= kernelTLS.rand_seed << 7;
-	// return kernelTLS.rand_seed;
 	#if defined(__SIZEOF_INT128__)
 		return __lehmer64( kernelTLS.rand_seed );
 	#else
-		return __wyhash64( kernelTLS.rand_seed );
+		return __xorshift64( kernelTLS.rand_seed );
 	#endif
 }
Index: libcfa/src/concurrency/stats.cfa
===================================================================
--- libcfa/src/concurrency/stats.cfa	(revision bdce852941b067571ca3876cdcd3c249e5a8aae1)
+++ libcfa/src/concurrency/stats.cfa	(revision 7812a7b58de49d3c24921120d935d3f6008cfc21)
@@ -3,4 +3,5 @@
 
 #include <unistd.h>								// STDERR_FILENO
+#include <inttypes.h>
 #include "bits/debug.hfa"
 #include "stats.hfa"
@@ -90,16 +91,16 @@
 			__cfaabi_bits_print_safe( STDOUT_FILENO,
 				"----- %s \"%s\" (%p) - Ready Q Stats -----\n"
-				"- total threads run      : %'15lu\n"
-				"- total threads scheduled: %'15lu\n"
-				"- push average probe len : %'18.2lf, %'18.2lf%% (%'15lu attempts)\n"
-				"- pop  average probe len : %'18.2lf, %'18.2lf%% (%'15lu attempts)\n"
-				"- local push avg prb len : %'18.2lf, %'18.2lf%% (%'15lu attempts)\n"
-				"- local pop  avg prb len : %'18.2lf, %'18.2lf%% (%'15lu attempts)\n"
-				"- thread migrations      : %'15lu\n"
+				"- total threads run      : %'15" PRIu64 "\n"
+				"- total threads scheduled: %'15" PRIu64 "\n"
+				"- push average probe len : %'18.2lf, %'18.2lf%% (%'15" PRIu64 " attempts)\n"
+				"- pop  average probe len : %'18.2lf, %'18.2lf%% (%'15" PRIu64 " attempts)\n"
+				"- local push avg prb len : %'18.2lf, %'18.2lf%% (%'15" PRIu64 " attempts)\n"
+				"- local pop  avg prb len : %'18.2lf, %'18.2lf%% (%'15" PRIu64 " attempts)\n"
+				"- thread migrations      : %'15" PRIu64 "\n"
 				"- Idle Sleep -\n"
-				"-- halts                 : %'15lu\n"
-				"-- cancelled halts       : %'15lu\n"
-				"-- schedule wake         : %'15lu\n"
-				"-- wake on exit          : %'15lu\n"
+				"-- halts                 : %'15" PRIu64 "\n"
+				"-- cancelled halts       : %'15" PRIu64 "\n"
+				"-- schedule wake         : %'15" PRIu64 "\n"
+				"-- wake on exit          : %'15" PRIu64 "\n"
 				"\n"
 				, cluster ? "Cluster" : "Processor",  name, id
@@ -137,15 +138,15 @@
 				__cfaabi_bits_print_safe( STDOUT_FILENO,
 					"----- %s \"%s\" (%p) - I/O Stats -----\n"
-					"- total submit calls     : %'15lu\n"
+					"- total submit calls     : %'15" PRIu64 "\n"
 					"- avg ready entries      : %'18.2lf\n"
 					"- avg submitted entries  : %'18.2lf\n"
 					"- avg available entries  : %'18.2lf\n"
-					"- total ready search     : %'15lu\n"
+					"- total ready search     : %'15" PRIu64 "\n"
 					"- avg ready search len   : %'18.2lf\n"
 					"- avg ready search block : %'18.2lf\n"
-					"- total alloc search     : %'15lu\n"
+					"- total alloc search     : %'15" PRIu64 "\n"
 					"- avg alloc search len   : %'18.2lf\n"
 					"- avg alloc search block : %'18.2lf\n"
-					"- total wait calls       : %'15lu   (%'lu slow, %'lu fast)\n"
+					"- total wait calls       : %'15" PRIu64 "   (%'" PRIu64 " slow, %'" PRIu64 " fast)\n"
 					"- avg completion/wait    : %'18.2lf\n"
 					"\n"
