Michele Calgaro 10 years ago
commit fa6cb5955c

@ -667,8 +667,11 @@ TQString ExifValue::toString(uint i)
return TQString("%1 ").arg( asExifNumber( i ).m_long ); return TQString("%1 ").arg( asExifNumber( i ).m_long );
case EXIF_TYPE_RATIONAL: case EXIF_TYPE_RATIONAL:
return TQString("%1 / %2 ").arg( asExifNumber( i ).m_rational.numerator ).arg( asExifNumber( i ).m_rational.denominator ); return TQString("%1 / %2 ").arg( asExifNumber( i ).m_rational.numerator ).arg( asExifNumber( i ).m_rational.denominator );
case EXIF_TYPE_SBYTE: case EXIF_TYPE_SBYTE: {
return TQString("%1 ").arg( asExifNumber( i ).m_sbyte ); /* workaround to compiler bug on Raspbian Wheezy */
TQ_INT8 o_sbyte = asExifNumber( i ).m_sbyte;
return TQString("%1 ").arg( o_sbyte );
}
case EXIF_TYPE_SSHORT: case EXIF_TYPE_SSHORT:
return TQString("%1 ").arg( asExifNumber( i ).m_sshort ); return TQString("%1 ").arg( asExifNumber( i ).m_sshort );
case EXIF_TYPE_SLONG: case EXIF_TYPE_SLONG:

Loading…
Cancel
Save