Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f730b759 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am d6c2ccb2: Merge "core: fix arithmetic on a pointer to void"

* commit 'd6c2ccb2':
  core: fix arithmetic on a pointer to void
parents 0b8fd029 d6c2ccb2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) {
            if (array) {
                releasePointer(_env, array, buf, 0);
            }
            buf = buf + offset;
            buf = (char*)buf + offset;
        } else {
            jniThrowException(_env, "java/lang/IllegalArgumentException",
                              "Must use a native order direct Buffer");