diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:39:06 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:39:06 +0100 |
commit | 3f448be5d894438c1293468ed13523222119b54f (patch) | |
tree | 812ab6b4910c87298f6a495d5c79ccf7ebc9c361 /jvmaccess/source | |
parent | 6a8a84c72f89930094870df1ed2a65bfe5768a44 (diff) |
Don't assume sal_Unicode is unsigned short
Change-Id: I870f7c5c68ee9c9668e82833ea6277adfd49a686
Diffstat (limited to 'jvmaccess/source')
-rw-r--r-- | jvmaccess/source/classpath.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmaccess/source/classpath.cxx b/jvmaccess/source/classpath.cxx index 3f0a3e3c2c2a..6b4436ae1719 100644 --- a/jvmaccess/source/classpath.cxx +++ b/jvmaccess/source/classpath.cxx @@ -74,7 +74,7 @@ jobjectArray jvmaccess::ClassPath::translateToUrls( } jvalue arg; arg.l = environment->NewString( - static_cast< jchar const * >(url.getStr()), + reinterpret_cast< jchar const * >(url.getStr()), static_cast< jsize >(url.getLength())); if (arg.l == nullptr) { return nullptr; |