aboutsummaryrefslogtreecommitdiff
path: root/src/hashtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hashtab.c')
-rw-r--r--src/hashtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashtab.c b/src/hashtab.c
index 1d3587b3ea..72928f8f0c 100644
--- a/src/hashtab.c
+++ b/src/hashtab.c
@@ -423,7 +423,7 @@ hash_T hash_hash(char_u *key)
// A simplistic algorithm that appears to do very well.
// Suggested by George Reilly.
- while (*p != NUL) {
+ while (*p != '\0') {
hash = hash * 101 + *p++;
}