diff options
author | Greg Ward <greg@gerg.ca> | 2010-12-20 22:21:47 -0500 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-12-21 07:37:54 +0100 |
commit | 9cb4aaf3c2f530dcb7927f9b9a61d4d26c974fa2 (patch) | |
tree | c3a86991f37f4f202c11faeea6a28e931e83285e /src/output_control.c | |
parent | 80dc6021931e12cb465a46f7b61e7aef19012080 (diff) | |
download | mpd-9cb4aaf3c2f530dcb7927f9b9a61d4d26c974fa2.tar.gz mpd-9cb4aaf3c2f530dcb7927f9b9a61d4d26c974fa2.tar.xz mpd-9cb4aaf3c2f530dcb7927f9b9a61d4d26c974fa2.zip |
osx_output: always pass OS X result code to g_set_error().
Should be safe on OS X 10.4 (32-bit), since Apple's OSStatus boils
down to "signed long", and g_set_error() takes gint, which is really
just "int". Assigning "signed long" to "int" on 32-bit Unix should be
just fine, since both are signed 32-bit ints.
No idea if this is safe on 64-bit OS X.
Diffstat (limited to 'src/output_control.c')
0 files changed, 0 insertions, 0 deletions