Show
Ignore:
Timestamp:
02/03/05 14:10:03 (9 years ago)
Author:
robert
Message:

Change unsigned long to unsigned int to avoid 64/32 bit problems.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgcluster/osgcluster.cpp

    r3728 r3809  
    6262            { 
    6363                swapBytes( _byte_order ); 
    64             swapBytes( _masterKilled ); 
    65             for( int i = 0; i < 16; i++ ) 
     64                swapBytes( _masterKilled ); 
     65                for( int i = 0; i < 16; i++ ) 
    6666                swapBytes( _matrix.ptr()[i] ); 
    6767 
     
    7474        const bool getMasterKilled() const { return _masterKilled; } 
    7575         
    76     unsigned long   _byte_order; 
     76        unsigned int    _byte_order; 
    7777        bool            _masterKilled; 
    7878        osg::Matrix     _matrix;