Skip to content

Commit 1b864a3

Browse files
Fix package file consistency, c format
1 parent ee88c23 commit 1b864a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

c/misra/test/rules/RULE-7-5/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ uint_least8_t g1[] = {
1919
UINT8_C(-0b111), // NON-COMPLIANT
2020
UINT8_C('a'), // NON-COMPLIANT
2121
UINT8_C(-'$'), // NON-COMPLIANT
22-
UINT8_C('\n'), // NON-COMPLIANT
22+
UINT8_C('\n'), // NON-COMPLIANT
2323

2424
// Suffixes disallowed
2525
UINT8_C(1u), // NON-COMPLIANT

rule_packages/c/Types2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"kind": "problem",
1111
"name": "The argument of an integer constant macro shall be a literal",
1212
"precision": "very-high",
13-
"severity": "error",
13+
"severity": "warning",
1414
"short_name": "InvalidIntegerConstantMacroArgument",
1515
"tags": [
1616
"correctness"

0 commit comments

Comments
 (0)