Fix a warning and a crash

This commit is contained in:
heckflosse
2016-07-02 23:03:58 +02:00
parent 45d307bf40
commit 2710bcdcec
2 changed files with 2 additions and 2 deletions

View File

@@ -1227,7 +1227,7 @@ int ImageIO::saveTIFF (Glib::ustring fname, int bps, bool uncompressed)
}
// buffer for the exif and iptc
int bufferSize = 165535; //TODO: Is it really 165535... or 65535 ?
int bufferSize = 175535; //TODO: Is it really 165535... or 65535 ?
if(profileData) {
bufferSize += profileLength;