summaryrefslogtreecommitdiffstats
path: root/macosx/HBDVDDetector.m
diff options
context:
space:
mode:
authordynaflash <[email protected]>2007-11-28 19:25:09 +0000
committerdynaflash <[email protected]>2007-11-28 19:25:09 +0000
commitb3d5861f702a187f0e67b4dad150c6678c2f5e96 (patch)
tree1c2b4639c3ed61d19b47f207f08129265aa492be /macosx/HBDVDDetector.m
parente9a2f0eadfefe9f21b1d677c8c53e3a0c2495874 (diff)
MacGui: Fix some warnings for compiling in 10.5
- Fix NSMenuItem warnings in -audioPopupChanged in Controller.mm - Fix cString warning in HBDVDDetectore.m git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1082 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBDVDDetector.m')
-rw-r--r--macosx/HBDVDDetector.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBDVDDetector.m b/macosx/HBDVDDetector.m
index 2b57237d9..7360c0a9d 100644
--- a/macosx/HBDVDDetector.m
+++ b/macosx/HBDVDDetector.m
@@ -150,7 +150,7 @@
- (io_service_t)getIOKitServiceForBSDName
{
CFMutableDictionaryRef matchingDict;
- matchingDict = IOBSDNameMatching( kIOMasterPortDefault, 0, [bsdName cString] );
+ matchingDict = IOBSDNameMatching( kIOMasterPortDefault, 0, [bsdName UTF8String] );
if( matchingDict == NULL )
{
return IO_OBJECT_NULL;