osx compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2453 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e52bacc769
commit
25b569e152
|
@ -191,7 +191,7 @@ char **cdio_get_devices_osx(void) {
|
|||
snprintf( psz_buf, sizeof(psz_buf), "%s%c", _PATH_DEV, 'r' );
|
||||
dev_path_length = strlen( psz_buf );
|
||||
|
||||
if( CFStringGetCString( str_bsd_path,
|
||||
if( CFStringGetCString( (CFStringRef)str_bsd_path,
|
||||
(char*)&psz_buf + dev_path_length,
|
||||
sizeof(psz_buf) - dev_path_length,
|
||||
kCFStringEncodingASCII)) {
|
||||
|
|
Loading…
Reference in New Issue