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 <eric@engestrom.ch>
Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Eric Engestrom 2017-05-24 21:23:14 +01:00 committed by Daniel Stone
parent dc4f9deaee
commit 58e056ab2d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
};