summaryrefslogtreecommitdiffstats
path: root/filters
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 18:30:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 18:30:01 -0600
commitb180811d9a814c638032f77aaf02e84a3126328c (patch)
treeb8ba98efefb73c6063775891278404a30923d8e1 /filters
parentc1904c6066b9d3c8391b851364c9cea7c7e51de4 (diff)
downloadkoffice-b180811d9a814c638032f77aaf02e84a3126328c.tar.gz
koffice-b180811d9a814c638032f77aaf02e84a3126328c.zip
Fix koffice FTBFS due to png code
This closes Bug 603
Diffstat (limited to 'filters')
-rw-r--r--filters/chalk/png/kis_png_converter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/chalk/png/kis_png_converter.cc b/filters/chalk/png/kis_png_converter.cc
index d5c4a080..ca51980f 100644
--- a/filters/chalk/png/kis_png_converter.cc
+++ b/filters/chalk/png/kis_png_converter.cc
@@ -785,7 +785,7 @@ void KisPNGConverter::cancel()
void KisPNGConverter::progress(png_structp png_ptr, png_uint_32 row_number, int pass)
{
- if(png_ptr == NULL || row_number > PNG_MAX_UINT || pass > 7) return;
+ if(png_ptr == NULL || row_number > PNG_UINT_31_MAX || pass > 7) return;
// setProgress(row_number);
}