From: Gregory P. <gre...@gm...> - 2009-11-22 10:56:08
|
The bug was found thanks to this GCC warning: keys.c: In function 'key_unbind': keys.c:539: warning: comparison of unsigned expression < 0 is always false Signed-off-by: Gregory Petrosyan <gre...@gm...> --- keys.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/keys.c b/keys.c index a9d6700..9a9f53f 100644 --- a/keys.c +++ b/keys.c @@ -530,7 +530,7 @@ bound: int key_unbind(const char *context, const char *key, int force) { - enum key_context c; + int c; const struct key *k; struct binding *b, *prev; struct command *command; -- 1.6.5 |