From 178ac0c976782a4ce83f8198f54e465f8a7d8aef Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 20 Jun 2010 16:16:51 -0700 Subject: [PATCH] [JAEGER] Fixed build. --- js/src/methodjit/Compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/methodjit/Compiler.cpp b/js/src/methodjit/Compiler.cpp index bc8bf3f7e7d..c6105491872 100644 --- a/js/src/methodjit/Compiler.cpp +++ b/js/src/methodjit/Compiler.cpp @@ -1835,7 +1835,7 @@ mjit::Compiler::jsop_length() if (top->isConstant()) { JSString *str = top->getValue().asString(); Value v; - v.setNumber(str->length()); + v.setNumber(uint32(str->length())); frame.pop(); frame.push(v); } else {