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

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

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

* commit 'f730b759':
  core: fix arithmetic on a pointer to void
parents 7a531be1 f730b759
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");