summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/util_cocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util_cocoa.mm b/jvmfwk/plugins/sunmajor/pluginlib/util_cocoa.mm
index 45ba2ddc8006..5755d4c44c50 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/util_cocoa.mm
+++ b/jvmfwk/plugins/sunmajor/pluginlib/util_cocoa.mm
@@ -18,7 +18,7 @@ bool JvmfwkUtil_isLoadableJVM( OUString const & aURL )
{
NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init];
- NSString *pString = [NSString stringWithCharacters:aURL.getStr() length:aURL.getLength()];
+ NSString *pString = [NSString stringWithCharacters:reinterpret_cast<unichar const *>(aURL.getStr()) length:aURL.getLength()];
if ( pString )
{
NSURL *pURL = nil;