Don't assume sal_Unicode is unsigned short
Change-Id: I870f7c5c68ee9c9668e82833ea6277adfd49a686
This commit is contained in:
parent
6a8a84c72f
commit
3f448be5d8
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ jobjectArray jvmaccess::ClassPath::translateToUrls(
|
||||||
}
|
}
|
||||||
jvalue arg;
|
jvalue arg;
|
||||||
arg.l = environment->NewString(
|
arg.l = environment->NewString(
|
||||||
static_cast< jchar const * >(url.getStr()),
|
reinterpret_cast< jchar const * >(url.getStr()),
|
||||||
static_cast< jsize >(url.getLength()));
|
static_cast< jsize >(url.getLength()));
|
||||||
if (arg.l == nullptr) {
|
if (arg.l == nullptr) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
Loading…
Reference in a new issue