Changeset 381904b9f00401e1371c9fd4e73185894b0ed540

Show
Ignore:
Timestamp:
05/08/08 22:25:31 (2 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1210278331 +0300
git-parent:

[1eea47cd41875604da84a414e17511920f88a40d]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1210278331 +0300
Message:

Win32 compile fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/misc/objects.c

    rb1b63c3 r381904b  
    420420#if defined(WIN32) || defined(UNDER_CE) 
    421421    /* if object has an associated thread, close it now */ 
    422     if( p_priv->thread_id.hThread
    423        CloseHandle(p_priv->thread_id.hThread); 
     422    if( p_priv->thread_id
     423       CloseHandle(p_priv->thread_id); 
    424424#endif 
    425425 
     
    14711471    psz_thread[0] = '\0'; 
    14721472    if( vlc_internals( p_this )->b_thread ) 
    1473         snprintf( psz_thread, 29, " (thread %u)", 
    1474 #if defined(WIN32) || defined(UNDER_CE) 
    1475                   (unsigned)vlc_internals( p_this )->thread_id.id ); 
    1476 #else 
    1477                   (unsigned)vlc_internals( p_this )->thread_id ); 
    1478 #endif 
     1473        snprintf( psz_thread, 29, " (thread %lu)", 
     1474                  (unsigned long)vlc_internals( p_this )->thread_id ); 
    14791475 
    14801476    psz_parent[0] = '\0';