Skip to content

Commit 96746b8

Browse files
committed
fixup! fixup! json-{sarif,simple}: propagate endLine/endColumn
1 parent e886689 commit 96746b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/defect.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ struct DefEvent {
6767
}
6868
};
6969

70-
///< return (end - beg) if it is positive and fits into `short`, 0 otherwise
70+
///< return (end - beg) if it is positive and fits into target type, 0 otherwise
7171
inline DefEvent::TNumDiff diffNums(const int beg, const int end)
7272
{
7373
const int diff = end - beg;

0 commit comments

Comments
 (0)