Show
Ignore:
Timestamp:
02/11/09 18:08:04 (6 years ago)
Author:
robert
Message:

Added brackets around (unsigned int) to avoid IRIX compile error. Merged from svn/trunk using:

svn merge -r 9762:9763 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk/

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/branches/OpenSceneGraph-2.8/src/OpenThreads/sproc/SprocThread.c++

    r9076 r9768  
    199199 
    200200        printf("THREAD INFO (%d) : Get sched param: %s/%s\n", 
    201                unsigned int(thread->getProcessId()), 
     201               (unsigned int)(thread->getProcessId()), 
    202202               strerror(status), 
    203203               strerror(errno)); 
     
    205205        printf( 
    206206            "THREAD INFO (%d) : Thread running at %s / Priority: %d\n", 
    207             unsigned int(thread->getProcessId()), 
     207            (unsigned int)(thread->getProcessId()), 
    208208            (my_policy == SCHED_FIFO ? "SCHEDULE_FIFO" 
    209209             : (my_policy == SCHED_RR ? "SCHEDULE_ROUND_ROBIN" 
     
    218218        printf( 
    219219            "THREAD INFO (%d) : Max priority: %d, Min priority: %d\n", 
    220             unsigned int(thread->getProcessId()), 
     220            (unsigned int)(thread->getProcessId()), 
    221221            max_priority, min_priority); 
    222222