diff --git a/Userland/Libraries/LibPDF/Filter.cpp b/Userland/Libraries/LibPDF/Filter.cpp index f984ff0670..c61dd5875c 100644 --- a/Userland/Libraries/LibPDF/Filter.cpp +++ b/Userland/Libraries/LibPDF/Filter.cpp @@ -220,7 +220,7 @@ PDFErrorOr Filter::handle_lzw_and_flate_parameters(ByteBuffer buffer return AK::Error::from_string_literal("Invalid predictor value"); // Rows are always a whole number of bytes long, starting with an algorithm tag - size_t const bytes_per_row = AK::ceil_div(columns * colors * bits_per_component, 8) + 1; + size_t const bytes_per_row = ceil_div(columns * colors * bits_per_component, 8) + 1; if (buffer.size() % bytes_per_row) return AK::Error::from_string_literal("Flate input data is not divisible into columns");