From 25b569e1522efe6bd5a3d8c81dfa32b97808a5be Mon Sep 17 00:00:00 2001 From: nakeee Date: Fri, 27 Feb 2009 10:40:16 +0000 Subject: [PATCH] osx compile fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2453 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/CDUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/Src/CDUtils.cpp b/Source/Core/Common/Src/CDUtils.cpp index 533a102942..e9672577cb 100644 --- a/Source/Core/Common/Src/CDUtils.cpp +++ b/Source/Core/Common/Src/CDUtils.cpp @@ -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)) {