On MSVS, this throws an error
BUG=v8:2745
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
18854002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15557
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
args.GetReturnValue().Set(result.getDouble());
return;
case icu::Formattable::kLong:
- args.GetReturnValue().Set(v8::Number::New(result.getLong()));
+ args.GetReturnValue().Set(result.getLong());
return;
case icu::Formattable::kInt64:
- args.GetReturnValue().Set(v8::Number::New(result.getInt64()));
+ args.GetReturnValue().Set(static_cast<double>(result.getInt64()));
return;
default:
return;