From 58e056ab2d715113a8893ec16ed5c93ca72c68bd Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 24 May 2017 21:23:14 +0100 Subject: [PATCH] config-parser: fix `short_name` type This field is populated with chars, compared to chars and printed as a char. It should probably be a char. Signed-off-by: Eric Engestrom Reviewed-by: Daniel Stone --- shared/config-parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/config-parser.h b/shared/config-parser.h index f18d2c0b..af3f66a2 100644 --- a/shared/config-parser.h +++ b/shared/config-parser.h @@ -64,7 +64,7 @@ enum weston_option_type { struct weston_option { enum weston_option_type type; const char *name; - int short_name; + char short_name; void *data; };