diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-06-30 15:13:54 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-06-30 15:13:54 +0300 |
commit | a89c861a3de113ebce481eb2e337e71dfb9e2c21 (patch) | |
tree | f69fc0ccaa3a91076cac6bf87c36567f29d70ae1 /luaext | |
parent | 19d3b1c8203208954e8d1511bdd5d5cf064548dd (diff) | |
download | librpm-tizen-a89c861a3de113ebce481eb2e337e71dfb9e2c21.tar.gz librpm-tizen-a89c861a3de113ebce481eb2e337e71dfb9e2c21.tar.bz2 librpm-tizen-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.c | 2 |
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 */ }; |