Remove a small warning.

This commit is contained in:
Matthieu Gautier 2017-12-12 09:03:25 +00:00
parent c947cceac8
commit 5a953f191b
1 changed files with 2 additions and 2 deletions

View File

@ -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);