From 9f2dc0e82093cf569014167146a3cb3025cbe09f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Thu, 12 Mar 1998 22:07:34 +0100
Subject: [PATCH] Fixed warning.

Rev: src/threads.h:1.36
---
 src/threads.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/threads.h b/src/threads.h
index 74c32c9003..a4c6b961a9 100644
--- a/src/threads.h
+++ b/src/threads.h
@@ -259,7 +259,7 @@ struct thread_state {
 #endif
 
 #ifndef th_hash
-#define th_hash(X) hashmem(&(X),sizeof(THREAD_T), 16)
+#define th_hash(X) hashmem((unsigned char *)&(X),sizeof(THREAD_T), 16)
 #endif
 
 /* Define to get a debug-trace of some of the threads operations. */
-- 
GitLab