Issue 49: v8 does not use correct Integer types.
http://code.google.com/p/v8/issues/detail?id=49
New issue report by [EMAIL PROTECTED]:
The v8 API is not consistent with the use of correct Integer types which
especially leads to problems with 32bit/64bit portability and might lead to
software bugs due to integer overflows.
e.g.
virtual int ScriptData::Length() = 0;
should return std::size_t or at least an unsigned integer type. (And the
Method should be const! But this is another Issue (see Issue 38/48)).
Array uses an unsigned type for length. Which is good but incosistent with
the rest of the code.
uint32_t Array::Length();
This is a correct example:
virtual size_t ExternalStringRessource::length() const = 0;
Issue attributes:
Status: New
Owner: ----
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---