Skip to content

Commit b51f403

Browse files
mbaludaCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent c8494ab commit b51f403

File tree

1 file changed

+1
-1
lines changed
  • cpp/common/test/rules/signedintegeroverflowshared

1 file changed

+1
-1
lines changed

cpp/common/test/rules/signedintegeroverflowshared/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void test_sub_simple(signed int i1, signed int i2) {
4545
}
4646

4747
void test_sub_precheck(signed int i1, signed int i2) {
48-
// Style recomended by CERT
48+
// Style recommended by CERT
4949
if ((i2 > 0 && i1 < INT_MIN + i2) || (i2 < 0 && i1 > INT_MAX + i2)) {
5050
// handle error
5151
} else {

0 commit comments

Comments
 (0)