| Index: fpdfsdk/javascript/JS_Value.cpp
|
| diff --git a/fpdfsdk/javascript/JS_Value.cpp b/fpdfsdk/javascript/JS_Value.cpp
|
| index ab02f02cfb0250e0b6b6cd6aef096490a8a3092c..b01ee586e1ebdd94ea870c2030e87ef9701fc238 100644
|
| --- a/fpdfsdk/javascript/JS_Value.cpp
|
| +++ b/fpdfsdk/javascript/JS_Value.cpp
|
| @@ -718,7 +718,7 @@ int _MonthFromTime(double t) {
|
| int _DateFromTime(double t) {
|
| int day = _DayWithinYear(t);
|
| int year = _YearFromTime(t);
|
| - bool leap = _isLeapYear(year);
|
| + int leap = _isLeapYear(year);
|
| int month = _MonthFromTime(t);
|
| switch (month) {
|
| case 0:
|
|
|