Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b89602

Browse files
committed
C++: Make var name in qhelp match source snippet
1 parent 7485cc7 commit 9b89602

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/ql/src/Likely Bugs/Arithmetic/SignedOverflowCheck.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ hold true, which likely is not what the programmer intended. (see also the
7878
<sample src="SignedOverflowCheck-bad2.cpp" />
7979
<p>
8080
The next example provides a solution to the previous one. Even though
81-
<code>i + delta</code> does not overflow, casting it to an
81+
<code>n1 + delta</code> does not overflow, casting it to an
8282
<code>unsigned short</code> truncates the addition modulo 2^16,
8383
so that <code>unsigned short</code> "wrap around" may now be observed.
8484
Furthermore, since the left-hand side is now of type <code>unsigned short</code>,

0 commit comments

Comments
 (0)