[Poppler-bugs] [Bug 79410] New: Change pagenum arguments in PDFDoc::markAnnotations from Guint to int

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 29 04:37:07 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79410

          Priority: medium
            Bug ID: 79410
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: Change pagenum arguments in PDFDoc::markAnnotations
                    from Guint to int
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: hib at hiberis.nl
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: general
           Product: poppler

Fixes compile warning:

  CXX      PDFDoc.lo
PDFDoc.cc: In member function 'GBool PDFDoc::markAnnotations(Object*, XRef*,
XRef*, Guint, Guint, Guint)':
PDFDoc.cc:1607:40: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
               if (obj2.getRef().num == oldPageNum) {
                                        ^
PDFDoc.cc:1617:47: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
               } else if (obj2.getRef().num == newPageNum) {

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140529/4d1ae5a8/attachment.html>


More information about the Poppler-bugs mailing list