diff options
author | Albert Astals Cid <aacid@kde.org> | 2022-04-22 11:12:37 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2022-04-22 11:13:45 +0200 |
commit | 74f11fbcffda7679d1b2e16f82668d482677ab8c (patch) | |
tree | fa7d942c2ff76feda6b910aada4d773813e17d90 | |
parent | 67190c0a05045d3c3eef4d5f0eaeb4435eb59c7c (diff) |
Stream: Fix two types to hold what the are stored to
-rw-r--r-- | poppler/Stream.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <jeff@infidigm.net> // Copyright (C) 2008 Julien Rebetez <julien@fhtagn.net> -// Copyright (C) 2008, 2010, 2011, 2016-2021 Albert Astals Cid <aacid@kde.org> +// Copyright (C) 2008, 2010, 2011, 2016-2022 Albert Astals Cid <aacid@kde.org> // Copyright (C) 2009 Carlos Garcia Campos <carlosgc@gnome.org> // Copyright (C) 2009 Stefan Thomas <thomas@eload24.com> // Copyright (C) 2010 Hib Eris <hib@hiberis.nl> @@ -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; |