summaryrefslogtreecommitdiff
path: root/luaext
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-30 15:13:54 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-30 15:13:54 +0300
commita89c861a3de113ebce481eb2e337e71dfb9e2c21 (patch)
treef69fc0ccaa3a91076cac6bf87c36567f29d70ae1 /luaext
parent19d3b1c8203208954e8d1511bdd5d5cf064548dd (diff)
downloadrpm-a89c861a3de113ebce481eb2e337e71dfb9e2c21.tar.gz
rpm-a89c861a3de113ebce481eb2e337e71dfb9e2c21.tar.bz2
rpm-a89c861a3de113ebce481eb2e337e71dfb9e2c21.zip
(char)NULL doesn't make much sense, use \0 instead
- shuts up another gcc warning
Diffstat (limited to 'luaext')
-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 */
};