$OpenBSD: patch-src_decoder_c,v 1.1.1.1 2005/01/25 21:59:00 naddy Exp $
--- src/decoder.c.orig	Sat Jan  8 20:28:59 2005
+++ src/decoder.c	Sat Jan  8 20:33:23 2005
@@ -137,7 +137,7 @@ void import_threads_cancel()
 #endif
   cc1=pthread_join(vthread, &status);
   
-  if(verbose & TC_DEBUG) fprintf(stderr, "(%s) video thread exit (ret_code=%d) (status_code=%d)\n", __FILE__, cc1, (int) status);
+  if(verbose & TC_DEBUG) fprintf(stderr, "(%s) video thread exit (ret_code=%d) (status_code=%lu)\n", __FILE__, cc1, (unsigned long)status);
   
 #ifdef BROKEN_PTHREADS // Used to be MacOSX specific; kernel 2.6 as well?
   pthread_cond_signal(&aframe_list_full_cv);
@@ -147,7 +147,7 @@ void import_threads_cancel()
 #endif
   cc2=pthread_join(athread, &status);
   
-  if(verbose & TC_DEBUG) fprintf(stderr, "(%s) audio thread exit (ret_code=%d) (status_code=%d)\n", __FILE__, cc2, (int) status);
+  if(verbose & TC_DEBUG) fprintf(stderr, "(%s) audio thread exit (ret_code=%d) (status_code=%lu)\n", __FILE__, cc2, (unsigned long) status);
 
   cc1 = pthread_mutex_trylock(&vframe_list_lock);
   
