summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--luaext/modemuncher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/luaext/modemuncher.c b/luaext/modemuncher.c
index b1e966c9b..9399eaa57 100644
--- a/luaext/modemuncher.c
+++ b/luaext/modemuncher.c
@@ -35,7 +35,7 @@ static modeLookup modesel[] =
{'r', S_IROTH},
{'w', S_IWOTH},
{'x', S_IXOTH},
- {(char)NULL, (mode_t)-1} /* do not delete this line */
+ {'\0', (mode_t)-1} /* do not delete this line */
};