diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-03-07 17:19:18 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-03-07 17:19:18 +0000 |
| commit | 2eb76fb0bd4b8572866d3c2390eaa82747890292 (patch) | |
| tree | 673eb8fdedd2cc54fd48347fb59cc5e1e20f8508 /src/bind/javabind.cpp | |
| parent | Translations. Greek translation update by Dimitris Spingos. (diff) | |
| download | inkscape-2eb76fb0bd4b8572866d3c2390eaa82747890292.tar.gz inkscape-2eb76fb0bd4b8572866d3c2390eaa82747890292.zip | |
cppcheck
(bzr r11052)
Diffstat (limited to 'src/bind/javabind.cpp')
| -rw-r--r-- | src/bind/javabind.cpp | 2 |
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); } |
