https://bugs.kde.org/show_bug.cgi?id=459047

Tom Hughes <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOT A BUG
             Status|REPORTED                    |RESOLVED

--- Comment #5 from Tom Hughes <[email protected]> ---
You misunderstand - the "unsigned long" there is not the type of the array,
it's the argument to operator new, which is just the number of bytes to
allocate and is always unsigned long (well std::size_t but apparently that is
equivalent to unsigned long on your platform).

See https://en.cppreference.com/w/cpp/memory/new/operator_new which lists the
various versions of operator new - in this case it is the second one that was
called to do the allocation.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to