<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Fix type mismatch.

--- wspr-20101110/start_threads.c	2010-11-10 17:10:27.000000000 +0000
+++ wspr-20101110/start_threads.c	2025-07-05 15:39:35.661549552 +0100
@@ -14,6 +14,11 @@
 extern void rx_(int *iarg);
 extern void tx_(int *iarg);
 
+void *wrap_decode_(void *arg) {
+  decode_((int *) arg);
+  return NULL;
+}
+
 pthread_t decode_thread;
 static int decode_started=0;
 
@@ -59,7 +64,7 @@
     pthread_join(decode_thread,NULL);
     decode_started=0;
   }
-  iret1 = pthread_create(&amp;decode_thread,NULL,decode_,&amp;iarg1);
+  iret1 = pthread_create(&amp;decode_thread,NULL,wrap_decode_,&amp;iarg1);
   if(iret1==0) decode_started=time(NULL);
   return iret1;
 }
</pre></body></html>