diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 18:30:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 18:30:01 -0600 |
commit | b180811d9a814c638032f77aaf02e84a3126328c (patch) | |
tree | b8ba98efefb73c6063775891278404a30923d8e1 /filters | |
parent | c1904c6066b9d3c8391b851364c9cea7c7e51de4 (diff) | |
download | koffice-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.cc | 2 |
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); } |