Changeset 1055

Show
Ignore:
Timestamp:
01/29/08 02:17:45 (6 months ago)
Author:
vossg
Message:

fixed: missing cast

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/Image/FileIO/OSGPNGImageFileType.cpp

    r709 r1055  
    423423    // set resolution png supports only meter per pixel, 
    424424    // so we do a conversion from dpi with some rounding. 
    425     png_uint_32 res_x = pImage->getResX(); 
    426     png_uint_32 res_y = pImage->getResY(); 
     425    png_uint_32 res_x = png_uint_32(pImage->getResX()); 
     426    png_uint_32 res_y = png_uint_32(pImage->getResY()); 
    427427    if(pImage->getResUnit() == Image::OSG_RESUNIT_INCH) 
    428428    {