summaryrefslogtreecommitdiffstats
path: root/chalk
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2014-08-27 22:41:17 +0900
committerMichele Calgaro <[email protected]>2014-08-27 22:41:17 +0900
commitfa6cb5955cf0df878de8bf627793686fa73ec374 (patch)
tree1e0a3a2cb6a2a7ccdc2a620974dc9b071153501c /chalk
parent5d6fa0caf6ef37c348404275ce7ec35454c87bd3 (diff)
parent5a8694bbae92f6e68b11fb3de0047a711999a57a (diff)
downloadkoffice-fa6cb5955cf0df878de8bf627793686fa73ec374.tar.gz
koffice-fa6cb5955cf0df878de8bf627793686fa73ec374.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/koffice
Diffstat (limited to 'chalk')
-rw-r--r--chalk/core/kis_exif_value.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chalk/core/kis_exif_value.cc b/chalk/core/kis_exif_value.cc
index 1981bd02..134d4009 100644
--- a/chalk/core/kis_exif_value.cc
+++ b/chalk/core/kis_exif_value.cc
@@ -667,8 +667,11 @@ TQString ExifValue::toString(uint i)
return TQString("%1 ").arg( asExifNumber( i ).m_long );
case EXIF_TYPE_RATIONAL:
return TQString("%1 / %2 ").arg( asExifNumber( i ).m_rational.numerator ).arg( asExifNumber( i ).m_rational.denominator );
- case EXIF_TYPE_SBYTE:
- return TQString("%1 ").arg( asExifNumber( i ).m_sbyte );
+ case EXIF_TYPE_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:
return TQString("%1 ").arg( asExifNumber( i ).m_sshort );
case EXIF_TYPE_SLONG: