summaryrefslogtreecommitdiffstats
path: root/src/keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keys.c')
-rw-r--r--src/keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keys.c b/src/keys.c
index e2af080..005595d 100644
--- a/src/keys.c
+++ b/src/keys.c
@@ -407,7 +407,7 @@ keys_action_nkey (enum key action, int keynum)
return key->str;
i++;
}
- return (char *)0;
+ return NULL;
}
char *
@@ -440,7 +440,7 @@ keys_format_label (char *key, int keylen)
int i;
if (keylen > BUFSIZ)
- return (char *)0;
+ return NULL;
bzero (fmtkey, sizeof (fmtkey));
if (len == 0)