poppler/DCTStream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2cf97eaa7a8ed9b1305b2e132b8324d5fc3c582f Author: Albert Astals Cid <[email protected]> Date: Sat Apr 2 00:00:33 2022 +0200 Cast the proper addition apologies, it's late :/ diff --git a/poppler/DCTStream.cc b/poppler/DCTStream.cc index 48dbb6d7..70dd0c73 100644 --- a/poppler/DCTStream.cc +++ b/poppler/DCTStream.cc @@ -232,8 +232,8 @@ int DCTStream::getChars(int nChars, unsigned char *buffer) left = nChars - i; } memcpy(buffer + i, current, left); - current += static_cast<int>(left); - i += left; + current += left; + i += static_cast<int>(left); } return nChars; }
