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@lists.freedesktop.org
          Reporter: mst...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to