Dear Maintainer,
term.c:1743:18: warning: comparison between pointer and zero character constant [-Wpointer-compare]
1743 | if (mk->cur_key == NUL)
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
term.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/term.c b/term.c
index 088c9f5..b756644 100644
--- a/term.c
+++ b/term.c
@@ -1740,10 +1740,10 @@ multi:
multi_match = NULL;
for (i = multi_keys, mk = multi_key_list; --i >= 0; mk++) {
- if (mk->cur_key == NUL)
+ if (mk->cur_key == NULL)
continue;
if (*(mk->cur_key)++ != c) {
- mk->cur_key = NUL;
+ mk->cur_key = NULL;
continue;
}
if (*(mk->cur_key) == NUL) {