diff options
author | Michael McConville <mmcconville@mykolab.com> | 2015-12-05 18:00:12 -0500 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2015-12-05 18:50:53 -0500 |
commit | e0877888da128c7a1fcb24f5a7b5959c54631e18 (patch) | |
tree | 01840925f9868764a6e15c6bb3a4b281127f42d9 /src/scanopt.c | |
parent | 3a1d84cfc0988a3dbdba7a440571e987cb68973a (diff) |
Use NULL rather than (type *) 0.
Diffstat (limited to 'src/scanopt.c')
-rw-r--r-- | src/scanopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanopt.c b/src/scanopt.c index 70c638d..2fe33f6 100644 --- a/src/scanopt.c +++ b/src/scanopt.c @@ -569,7 +569,7 @@ static int matchlongopt (char *str, char **optname, int *optlen, char **arg, int { char *p; - *optname = *arg = (char *) 0; + *optname = *arg = NULL; *optlen = *arglen = 0; /* Match regex /--./ */ |