summaryrefslogtreecommitdiffstats
path: root/js/src/builtin/temporal/Int96.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/builtin/temporal/Int96.h')
-rw-r--r--js/src/builtin/temporal/Int96.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/builtin/temporal/Int96.h b/js/src/builtin/temporal/Int96.h
index dfb0a5c231..36ed359eca 100644
--- a/js/src/builtin/temporal/Int96.h
+++ b/js/src/builtin/temporal/Int96.h
@@ -133,7 +133,7 @@ class Int96 final {
remainder = n % divisor;
}
- int64_t result = (TwoDigit(quotient[1]) << 32) | quotient[0];
+ int64_t result = int64_t((TwoDigit(quotient[1]) << 32) | quotient[0]);
if (negative) {
result *= -1;
if (remainder != 0) {