(char)NULL doesn't make much sense, use \0 instead

- shuts up another gcc warning
This commit is contained in:
Panu Matilainen 2008-06-30 15:13:54 +03:00
parent 19d3b1c820
commit a89c861a3d
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
};