Skip to content

Commit c811fae

Browse files
bdrodesgeoffw0
andauthored
Update cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
1 parent 549dcb3 commit c811fae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ predicate isLikelyConversionConstant(int c) {
145145
32044, // Fliegel-van Flandern JDN epoch shift
146146
1721425, // JDN of 0001‑01‑01 (Gregorian)
147147
1721119, // alt epoch offset
148-
2400000, // MJD JDN conversion
149-
2400001, // alt MJD JDN conversion
148+
2400000, // MJD -> JDN conversion
149+
2400001, // alt MJD -> JDN conversion
150150
2141, // fixed‑point month/day extraction
151151
65536, // observed in some conversions
152152
7834, // observed in some conversions

0 commit comments

Comments
 (0)