[Poppler-bugs] [Bug 21080] New: poppler/CairoFontEngine.cc fails to build due to munmap()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 7 01:44:44 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=21080

           Summary: poppler/CairoFontEngine.cc fails to build due to
                    munmap()
           Product: poppler
           Version: unspecified
          Platform: All
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: darren.kenny at sun.com


Created an attachment (id=24633)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=24633)
Patch to fix compilation issue.

The file poppler/CairoFontEngine.cc from 0.10.5 (and trunk) doesn't build on
Solaris due to the way that munmap is called with an unsigned char* as opposed
to a char* as the first parameter. 

The fix is to add a suitable cast to the function call, as in the attached
patch.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list