From 6506d4ad84eac67e69437def2c8ee69fcfc14ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Thu, 28 Apr 2011 09:36:00 +0200 Subject: cleanup: remove more warnings --- input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input') diff --git a/input/input.c b/input/input.c index 9a74abcdfb..808b197603 100644 --- a/input/input.c +++ b/input/input.c @@ -1471,7 +1471,7 @@ int mp_input_get_key_from_name(const char *name) const char *p; while (p = strchr(name, '+')) { for (struct mp_key_name *m = modifier_names; m->name; m++) - if (!bstrcasecmp(BSTR(m->name), (struct bstr){name, p - name})) { + if (!bstrcasecmp(BSTR(m->name), (struct bstr){(char *)name, p - name})) { modifiers |= m->key; goto found; } -- cgit v1.2.3