[Webkit-unassigned] [Bug 209464] New: Replacing atoll with strtoull in MemoryPressureMonitor.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 23 23:39:13 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=209464

            Bug ID: 209464
           Summary: Replacing atoll with strtoull in
                    MemoryPressureMonitor.cpp
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: psaavedra at igalia.com

strtoull is a feature added in C++ since C11. This parses the C-string str interpreting its content as an `unsigned long long int` which is more appropriate  for the size_t (unsigned integer type) variables used by the `MemoryPressureMonitor.cpp` functions in counterpoint of atoll() what returns a `long long int`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200324/081de74f/attachment.htm>


More information about the webkit-unassigned mailing list