mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ char **cdio_get_devices_osx(void) {
|
||||||
snprintf( psz_buf, sizeof(psz_buf), "%s%c", _PATH_DEV, 'r' );
|
snprintf( psz_buf, sizeof(psz_buf), "%s%c", _PATH_DEV, 'r' );
|
||||||
dev_path_length = strlen( psz_buf );
|
dev_path_length = strlen( psz_buf );
|
||||||
|
|
||||||
if( CFStringGetCString( str_bsd_path,
|
if( CFStringGetCString( (CFStringRef)str_bsd_path,
|
||||||
(char*)&psz_buf + dev_path_length,
|
(char*)&psz_buf + dev_path_length,
|
||||||
sizeof(psz_buf) - dev_path_length,
|
sizeof(psz_buf) - dev_path_length,
|
||||||
kCFStringEncodingASCII)) {
|
kCFStringEncodingASCII)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue