Skip to contentSkip to conversation

lib/cmdline_kunit: Type of expected returned values should be int

PATCH New Andy Shevchenko 1 participant 1 message Nov 16, 2020 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/cmdline_kunit: Type of expected returned values should be int

Type of expected returned values should be int.

---
 lib/cmdline_kunit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/cmdline_kunit.c +1 -1
index 208b485abfd7..3eb022d4c723 100644
@@ -13,7 +13,7 @@ static const char *cmdline_test_strings[] = {
 	"+,"  , "--", ",,", "''" , "\"\",", "\",\"", "-\"\"", "\"",
 };
 
-static const char cmdline_test_values[] = {
+static const int cmdline_test_values[] = {
 	1, 1, 1, 1, 2, 3, 2, 3,
 	1, 3, 2, 1, 1, 1, 3, 1,
 };
Signature · 1 line
2.28.0