diff options
Diffstat (limited to 'src/uscxml/URL.mm')
-rw-r--r-- | src/uscxml/URL.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/URL.mm b/src/uscxml/URL.mm index 46975a0..3344601 100644 --- a/src/uscxml/URL.mm +++ b/src/uscxml/URL.mm @@ -16,7 +16,7 @@ std::string URL::getResourceDir() { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; #endif NSString *resourcePath = [[NSBundle mainBundle] resourcePath]; - return [resourcePath cStringUsingEncoding:NSUTF8StringEncoding]; + return std::string([resourcePath cStringUsingEncoding:NSUTF8StringEncoding]); #if HAS_AUTORELEASE_POOL } |