diff options
-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; |