Commit 98a96e3a authored by barraclough@apple.com's avatar barraclough@apple.com
Browse files

Rubber Stamped by Geoff Garen.

Bug 34948 - tryMakeString should fail on error in length calculation

Ooops! - "bool overflow" argument should have been "bool& overflow".

* runtime/UString.h:
(JSC::sumWithOverflow):
(JSC::tryMakeString):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 944a763f
2010-02-15 Gavin Barraclough <barraclough@apple.com>
Rubber Stamped by Geoff Garen.
Bug 34948 - tryMakeString should fail on error in length calculation
Ooops! - "bool overflow" argument should have been "bool& overflow".
* runtime/UString.h:
(JSC::sumWithOverflow):
(JSC::tryMakeString):
2010-02-15 Gavin Barraclough <barraclough@apple.com>
 
Reviewed by NOBODY (Build Fix (pt 2!)).
......
......@@ -325,7 +325,7 @@ namespace JSC {
unsigned m_length;
};
inline void sumWithOverflow(unsigned& total, unsigned addend, bool overflow)
inline void sumWithOverflow(unsigned& total, unsigned addend, bool& overflow)
{
unsigned oldTotal = total;
total = oldTotal + addend;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment