[poppler] poppler/Stream.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 22 09:17:32 UTC 2022


 poppler/Stream.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 74f11fbcffda7679d1b2e16f82668d482677ab8c
Author: Albert Astals Cid <aacid at kde.org>
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 <jeff at infidigm.net>
 // Copyright (C) 2008 Julien Rebetez <julien at fhtagn.net>
-// Copyright (C) 2008, 2010, 2011, 2016-2021 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2008, 2010, 2011, 2016-2022 Albert Astals Cid <aacid at kde.org>
 // Copyright (C) 2009 Carlos Garcia Campos <carlosgc at gnome.org>
 // Copyright (C) 2009 Stefan Thomas <thomas at eload24.com>
 // Copyright (C) 2010 Hib Eris <hib at 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;


More information about the poppler mailing list