Show
Ignore:
Timestamp:
01/28/09 12:59:06 (6 years ago)
Author:
robert
Message:

From Mathias Froehlich, "I have today built svn trunk on HP-UX and Solaris8.
I had to do two small changes to src/osgWidget/Input.cpp and
src/osgAnimation/Animation.cpp mainly because of name lookup problems.
"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgWidget/Input.cpp

    r9450 r9569  
    176176        osgText::Font*        font  = const_cast<osgText::Font*>(_text->getFont()); 
    177177        osgText::Font::Glyph* glyph = font->getGlyph(fr, *i); 
    178         unsigned int          d     = abs(glyph->getHorizontalBearing().y()); 
     178        unsigned int          d     = abs((int)glyph->getHorizontalBearing().y()); 
    179179 
    180180        if(d > descent) descent = d;