Skip to content

Commit

Permalink
GTIFF: fix ambiguous wording in eror message relatet to 64bit data an…
Browse files Browse the repository at this point in the history
…d predictor=2 (OSGeo#9496)
  • Loading branch information
tbonfort authored Mar 18, 2024
1 parent fc9831d commit 9f18fd1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frmts/gtiff/gtiffdataset_write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5130,10 +5130,9 @@ TIFF *GTiffDataset::CreateLL(const char *pszFilename, int nXSize, int nYSize,
#if !defined(HAVE_PREDICTOR_2_FOR_64BIT)
if (l_nBitsPerSample == 64)
{
ReportError(
pszFilename, CE_Failure, CPLE_AppDefined,
"PREDICTOR=2 is only supported with 64 bit samples "
"starting with libtiff > 4.3.0.");
ReportError(pszFilename, CE_Failure, CPLE_AppDefined,
"PREDICTOR=2 is supported on 64 bit samples "
"starting with libtiff > 4.3.0.");
}
else
#endif
Expand Down

0 comments on commit 9f18fd1

Please sign in to comment.