mirror of https://github.com/kiwix/libkiwix.git
Remove a small warning.
This commit is contained in:
parent
c947cceac8
commit
5a953f191b
|
@ -246,8 +246,8 @@ JNIEXPORT jbyteArray JNICALL Java_org_kiwix_kiwixlib_JNIKiwixReader_getContentPa
|
||||||
/* Default values */
|
/* Default values */
|
||||||
/* Retrieve the content */
|
/* Retrieve the content */
|
||||||
std::string cUrl = jni2c(url, env);
|
std::string cUrl = jni2c(url, env);
|
||||||
int cOffset = jni2c(offset);
|
unsigned int cOffset = jni2c(offset);
|
||||||
int cLen = jni2c(len);
|
unsigned int cLen = jni2c(len);
|
||||||
try {
|
try {
|
||||||
zim::Article article;
|
zim::Article article;
|
||||||
READER->getArticleObjectByDecodedUrl(kiwix::urlDecode(cUrl), article);
|
READER->getArticleObjectByDecodedUrl(kiwix::urlDecode(cUrl), article);
|
||||||
|
|
Loading…
Reference in New Issue