aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-02-24 12:01:06 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-02-24 12:01:06 +0100
commit246ee8c20e0501ef50148db6f2abb9805b9c8a0a (patch)
treef07ec721adf25f70df6df098127f02c98bdb5ed7 /src
parent516641cfb6a1797991da1ad10fc40096cf7413ab (diff)
downloadPROJ-246ee8c20e0501ef50148db6f2abb9805b9c8a0a.tar.gz
PROJ-246ee8c20e0501ef50148db6f2abb9805b9c8a0a.zip
jniproj.cpp: fix compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/jniproj.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jniproj.cpp b/src/jniproj.cpp
index 59b5b2a0..6f441529 100644
--- a/src/jniproj.cpp
+++ b/src/jniproj.cpp
@@ -279,7 +279,7 @@ JNIEXPORT jcharArray JNICALL Java_org_proj4_PJ_getAxisDirections
{
PJ *pj = getPJ(env, object);
if (pj) {
- int length = strlen(pj->axis);
+ int length = static_cast<int>(strlen(pj->axis));
jcharArray array = env->NewCharArray(length);
if (array) {
jchar* axis = env->GetCharArrayElements(array, nullptr);