Skip to content

Commit ea0d1bf

Browse files
authored
Apply suggestion from @bdrodes
1 parent 0106072 commit ea0d1bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ predicate isLikelyConversionConstant(int c) {
162162
1400, // Hijri base year, used when converting a 2 digit year
163163
1980, // FAT filesystem epoch start year
164164
227013, // constant observed for Hirji year conversion, and Hirji years are not applicable for gregorian leap year
165-
10631, // constant observed for Hirji year conversion, and Hirji years are not applicable for gregorian leap year
165+
10631, // constant observed for Hirji year conversion, and Hirji years are not applicable for gregorian leap year,
166+
80, // 1980/01/01 is the start of the epoch on DOS
166167
0
167168
]
168169
)

0 commit comments

Comments
 (0)