poppler/Stream.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 74f11fbcffda7679d1b2e16f82668d482677ab8c Author: Albert Astals Cid <[email protected]> Date: Fri Apr 22 11:12:37 2022 +0200 Stream: Fix two types to hold what the are stored to diff --git a/poppler/Stream.h b/poppler/Stream.h index 985b5629..1d645cd4 100644 --- a/poppler/Stream.h +++ b/poppler/Stream.h @@ -15,7 +15,7 @@ // // Copyright (C) 2005 Jeff Muizelaar <[email protected]> // Copyright (C) 2008 Julien Rebetez <[email protected]> -// Copyright (C) 2008, 2010, 2011, 2016-2021 Albert Astals Cid <[email protected]> +// Copyright (C) 2008, 2010, 2011, 2016-2022 Albert Astals Cid <[email protected]> // Copyright (C) 2009 Carlos Garcia Campos <[email protected]> // Copyright (C) 2009 Stefan Thomas <[email protected]> // Copyright (C) 2010 Hib Eris <[email protected]> @@ -98,7 +98,7 @@ enum CryptAlgorithm typedef struct _ByteRange { - unsigned int offset; + size_t offset; unsigned int length; } ByteRange; @@ -672,7 +672,7 @@ public: void setPos(Goffset pos, int dir = 0) override { - unsigned int i; + Goffset i; if (dir >= 0) { i = pos;
