From e033f98f31948e3ef295af7a966e99cc12676bf6 Mon Sep 17 00:00:00 2001 From: AlternateWalls <71268229+AlternateWalls@users.noreply.github.com> Date: Mon, 11 Oct 2021 09:44:04 -0400 Subject: [PATCH] Update easter.cpp --- others/easter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/others/easter.cpp b/others/easter.cpp index 97a50b6f0..a85031750 100644 --- a/others/easter.cpp +++ b/others/easter.cpp @@ -29,7 +29,7 @@ class EasterYearMonthDay { uint64_t month; ///< month Easter is on uint64_t day; ///< day Easter is on - EasterYearMonthDay(int newYear, int newMonth, int newDay) { + EasterYearMonthDay(uint64_t newYear, uint64_t newMonth, uint64_t newDay) { year = newYear; // Assigns year to class month = newMonth; day = newDay; @@ -43,7 +43,7 @@ class EasterYearMonthDay { * @returns An instance of the easterYearMonthDay calss that contains the * information (Ex. 420 - 4/20 or April 20th) */ -EasterYearMonthDay findEaster(int y) { +EasterYearMonthDay findEaster(uint64_t y) { if (y > 1582) { uint64_t a = y % 19; // Year's location on Metonic Calendar uint64_t b = y / 100; // Century index