From ea0d1bf2620defc288276708137c94eb1fdc2590 Mon Sep 17 00:00:00 2001 From: Ben Rodes Date: Tue, 17 Feb 2026 12:38:59 -0500 Subject: [PATCH] Apply suggestion from @bdrodes --- .../Leap Year/UncheckedLeapYearAfterYearModification.ql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql index 28271d5c3a6..0a52a2b0ff4 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql +++ b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql @@ -162,7 +162,8 @@ predicate isLikelyConversionConstant(int c) { 1400, // Hijri base year, used when converting a 2 digit year 1980, // FAT filesystem epoch start year 227013, // constant observed for Hirji year conversion, and Hirji years are not applicable for gregorian leap year - 10631, // constant observed for Hirji year conversion, and Hirji years are not applicable for gregorian leap year + 10631, // constant observed for Hirji year conversion, and Hirji years are not applicable for gregorian leap year, + 80, // 1980/01/01 is the start of the epoch on DOS 0 ] )