[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: kdegraphics/kfile-plugins/jpeg
From: Marcus Camen <mcamen () mcamen ! de>
Date: 2004-04-12 17:59:17
Message-ID: 20040412175917.C8DCB9A2B () office ! kde ! org
[Download RAW message or body]
CVS commit by mcamen:
Backport:
IRIX MipsPro compiler has a problem determining which overloaded function
to match log(2) to. Fix is to use log(2.0).
BR: 78244
M +2 -2 exif.cpp 1.5.2.2
--- kdegraphics/kfile-plugins/jpeg/exif.cpp #1.5.2.1:1.5.2.2
@@ -570,5 +570,5 @@ void ExifData::ProcessExifDir(unsigned c
if (ExifData::ApertureFNumber == 0){
ExifData::ApertureFNumber
- = (float)exp(ConvertAnyFormat(ValuePtr, Format)*log(2)*0.5);
+ = (float)exp(ConvertAnyFormat(ValuePtr, Format)*log(2.0)*0.5);
}
break;
@@ -597,5 +597,5 @@ void ExifData::ProcessExifDir(unsigned c
if (ExifData::ExposureTime == 0){
ExifData::ExposureTime
- = (float)(1/exp(ConvertAnyFormat(ValuePtr, Format)*log(2)));
+ = (float)(1/exp(ConvertAnyFormat(ValuePtr, Format)*log(2.0)));
}
break;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic