diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-19 10:55:27 -0500 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-21 17:54:44 +0200 |
commit | 8176880173f593dc6833bf2ef52eb1c24786a935 (patch) | |
tree | b5f1f9123ec79fdd2258215069eb8a83b387fe1d /src/output/osx_output_plugin.c | |
parent | 533a6b0240c10755b9c1e47ab20611f289dac412 (diff) | |
download | mpd-8176880173f593dc6833bf2ef52eb1c24786a935.tar.gz mpd-8176880173f593dc6833bf2ef52eb1c24786a935.tar.xz mpd-8176880173f593dc6833bf2ef52eb1c24786a935.zip |
Simplify setsockopt() casting workaround
On Win32, the third setsockopt parameter has type (char *) while on POSIX
systems it is (void *). However, given that it is a no-op cast to go from a
char pointer to a void pointer, we can cast to a char pointer (with a
possible const modifier) on all platforms and satisfy the compiler.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/output/osx_output_plugin.c')
0 files changed, 0 insertions, 0 deletions