]> git.sesse.net Git - vlc/commitdiff
Use long
authorRémi Denis-Courmont <rem@videolan.org>
Fri, 28 Dec 2007 20:38:49 +0000 (20:38 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Fri, 28 Dec 2007 20:38:49 +0000 (20:38 +0000)
include/vlc_threads_funcs.h

index ec4aa5a59352628fd039dcf1255167c8517fe8e0..d77e29ac46348ee7bd24f10bc714b906cd622b52 100644 (file)
@@ -77,9 +77,9 @@ VLC_EXPORT( void, __vlc_thread_join,   ( vlc_object_t *, const char *, int ) );
     __vlc_mutex_lock( __FILE__, __LINE__, P_MUTEX )
 
 #if defined( PTHREAD_COND_T_IN_PTHREAD_H )
-static inline int CAST_PTHREAD_TO_INT (pthread_t th)
+static inline unsigned long int CAST_PTHREAD_TO_INT (pthread_t th)
 {
-     union { pthread_t th; int i; } v = { };
+     union { pthread_t th; unsigned long int i; } v = { };
      v.th = th;
      return v.i;
 }