summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2017-05-24 21:23:14 +0100
committerDaniel Stone <daniels@collabora.com>2017-12-04 19:37:25 +0000
commit58e056ab2d715113a8893ec16ed5c93ca72c68bd (patch)
tree0ce51a34888620eca96cea0d82ebd07ef2cb0a9c
parentdc4f9deaee8f220ef7cb70ced4f18b39bb22bb10 (diff)
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>
-rw-r--r--shared/config-parser.h2
1 files changed, 1 insertions, 1 deletions
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;
};