Changeset 6176

Show
Ignore:
Timestamp:
02/13/07 23:22:35
Author:
robert
Message:

Fixed warning

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenSceneGraph/trunk/src/osgPlugins/Inventor/ConvertFromInventor.cpp

    r5809 r6176  
    11441144////////////////////////////////////////////////////////////////////// 
    11451145void ConvertFromInventor::_setVRMLImageTexture(const SoVRMLImageTexture* vit, 
    1146                                                SoCallbackAction* action
     1146                                               SoCallbackAction* /*action*/
    11471147{ 
    11481148    _hasVRMLImageTexture = true; 
  • OpenSceneGraph/trunk/src/osgPlugins/ive/Viewport.cpp

    r5863 r6176  
    3131    // Write Viewport's properties. 
    3232 
    33     out->writeInt(x()); 
    34     out->writeInt(y()); 
    35     out->writeInt(width()); 
    36     out->writeInt(height()); 
     33    out->writeInt(static_cast<int>(x())); 
     34    out->writeInt(static_cast<int>(y())); 
     35    out->writeInt(static_cast<int>(width())); 
     36    out->writeInt(static_cast<int>(height())); 
    3737} 
    3838