summaryrefslogtreecommitdiffstats
path: root/src/bind/javabind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bind/javabind.cpp')
-rw-r--r--src/bind/javabind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bind/javabind.cpp b/src/bind/javabind.cpp
index d2091eb1b..0831ddf19 100644
--- a/src/bind/javabind.cpp
+++ b/src/bind/javabind.cpp
@@ -754,7 +754,7 @@ jboolean JNICALL documentSet(JNIEnv */*env*/, jobject /*obj*/, jlong /*ptr*/, js
*/
void JNICALL logWrite(JNIEnv */*env*/, jobject /*obj*/, jlong ptr, jint ch)
{
- JavaBinderyImpl *bind = (JavaBinderyImpl *)ptr;
+ JavaBinderyImpl *bind = reinterpret_cast<JavaBinderyImpl *>(ptr);
bind->log(ch);
}