[Libreoffice-bugs] [Bug 114441] New: Convert use of sal_uLong to better integer types

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 13 13:38:12 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114441

            Bug ID: 114441
           Summary: Convert use of sal_uLong to better integer types
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: difficultyBeginner, easyHack, skillCpp, topicCleanup
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mstahl at redhat.com

During the removal of the tools types, the ULONG type was
converted to the sal_uLong type.

This is just a stop-gap, and every use of sal_uLong should
be reviewed and replaced by an appropriate unsigned integer type,
depending on the situation sal_uInt32, sal_uInt64, size_t or
"unsigned int" are likely candidates.

for an example see this commit, where positions of a SvStream
are converted, so sal_uInt64 is the correct type because
files can be larger than 4GB.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=05d3a1899eb50202fd3929b702bae1003b5610be

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171213/3485ea5a/attachment.html>


More information about the Libreoffice-bugs mailing list