diff options
| -rw-r--r-- | graphics/java/android/renderscript/FieldPacker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/renderscript/FieldPacker.java b/graphics/java/android/renderscript/FieldPacker.java index 6487623..fac7144 100644 --- a/graphics/java/android/renderscript/FieldPacker.java +++ b/graphics/java/android/renderscript/FieldPacker.java @@ -51,7 +51,7 @@ public class FieldPacker { public void skip(int i) { int res = mPos + i; - if ((res < 0) || (res >= mLen)) { + if ((res < 0) || (res > mLen)) { throw new RSIllegalArgumentException("out of range argument: " + i); } mPos = res; |
