projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ca1a0c
)
xkbcomp: fix wrong return type
author
Ran Benita
<ran@unusedvar.com>
Fri, 27 Dec 2019 12:52:49 +0000
(14:52 +0200)
committer
Ran Benita
<ran@unusedvar.com>
Fri, 27 Dec 2019 13:04:40 +0000
(15:04 +0200)
Detected by MSVC:
xkbcomp\xkbcomp.c(111): warning C4047: 'return': 'bool' differs in levels of indirection from 'void *'
Signed-off-by: Ran Benita <ran@unusedvar.com>
src/xkbcomp/xkbcomp.c
patch
|
blob
|
history
diff --git
a/src/xkbcomp/xkbcomp.c
b/src/xkbcomp/xkbcomp.c
index
5655041
..
48547c9
100644
(file)
--- a/
src/xkbcomp/xkbcomp.c
+++ b/
src/xkbcomp/xkbcomp.c
@@
-108,7
+108,7
@@
text_v1_keymap_new_from_string(struct xkb_keymap *keymap,
xkb_file = XkbParseString(keymap->ctx, string, len, "(input string)", NULL);
if (!xkb_file) {
log_err(keymap->ctx, "Failed to parse input xkb string\n");
- return
NULL
;
+ return
false
;
}
ok = compile_keymap_file(keymap, xkb_file);