diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-04-16 17:09:16 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-04-16 17:09:16 +0200 |
commit | 1b91e3bfc11157aa6e55bcf234fbf84400bbf082 (patch) | |
tree | decd2dd376f1a273a9bfc8c010d3d15d860d4d80 /src | |
parent | afa6a1719d76f1a1dde7dc2de62fb32de5dc6fba (diff) | |
download | pianobar-windows-1b91e3bfc11157aa6e55bcf234fbf84400bbf082.tar.gz pianobar-windows-1b91e3bfc11157aa6e55bcf234fbf84400bbf082.tar.bz2 pianobar-windows-1b91e3bfc11157aa6e55bcf234fbf84400bbf082.zip |
Fix coding style
If NULL is 0L instead of (void *) 0 then this explicit cast is needed
for va_arg functions.
Thanks to dcoppa@openbsd.
Diffstat (limited to 'src')
-rw-r--r-- | src/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -527,7 +527,7 @@ void BarUiStartEventCmd (const BarSettings_t *settings, const char *type, /* child */ close (pipeFd[1]); dup2 (pipeFd[0], fileno (stdin)); - execl (settings->eventCmd, settings->eventCmd, type, NULL); + execl (settings->eventCmd, settings->eventCmd, type, (char *) NULL); BarUiMsg (MSG_ERR, "Cannot start eventcmd. (%s)\n", strerror (errno)); close (pipeFd[0]); exit (1); |