charlit.c:12:14: Variable u initialized to type int, expects unsigned int: -3
To ignore signs in type comparisons use +ignoresigns
-Finished LCLint checking --- 4 code errors found, as expected
+Finished checking --- 4 code warnings, as expected
charlit.c: (in function f)
charlit.c:3:11: Variable x initialized to type char, expects int: 'a'
charlit.c:12:14: Variable u initialized to type int, expects unsigned int: -3
To ignore signs in type comparisons use +ignoresigns
-Finished LCLint checking --- 6 code errors found, expected 5
+Finished checking --- 6 code warnings, as expected
-Finished LCLint checking --- no code errors found
+charlit.c: (in function f)
+charlit.c:6:3: Assignment of double to int: x = x + 'c' + 2 + z
+ To allow all numeric types to match, use +relaxtypes.
+
+Finished checking --- 1 code warning, as expected