Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Unified Diff: src/platform-win32.cc

Issue 53047: Implement string.match in C++. (Closed)
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/platform-win32.cc
diff --git a/src/platform-win32.cc b/src/platform-win32.cc
index f5d0913581311796912c0d449d2941ed4126fee3..e6dfe9559d7e8afe2d53b517a2a9375bba90c398 100644
--- a/src/platform-win32.cc
+++ b/src/platform-win32.cc
@@ -314,7 +314,7 @@ Time::Time() {
// Initialize timestamp from a JavaScript timestamp.
Time::Time(double jstime) {
- t() = static_cast<uint64_t>(jstime) * kTimeScaler + kTimeEpoc;
+ t() = static_cast<int64_t>(jstime) * kTimeScaler + kTimeEpoc;
}
« no previous file with comments | « src/jsregexp.cc ('k') | src/regexp-macro-assembler-ia32.cc » ('j') | src/string.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698