summaryrefslogtreecommitdiff
path: root/ext/calendar/jewish.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/calendar/jewish.c')
-rw-r--r--ext/calendar/jewish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/calendar/jewish.c b/ext/calendar/jewish.c
index 1e7a06c8a6..fcc0e5c0b8 100644
--- a/ext/calendar/jewish.c
+++ b/ext/calendar/jewish.c
@@ -272,7 +272,7 @@
#define HALAKIM_PER_METONIC_CYCLE (HALAKIM_PER_LUNAR_CYCLE * (12 * 19 + 7))
#define JEWISH_SDN_OFFSET 347997
-#define JEWISH_SDN_MAX 38245310 /* year 103759, 100000 A.D. */
+#define JEWISH_SDN_MAX 324542846L /* 12/13/887605, greater value raises interger overflow */
#define NEW_MOON_OF_CREATION 31524
#define SUNDAY 0