Commit af4464eb by Bryce McKinlay Committed by Bryce McKinlay

prims.cc (_Jv_NewObjectArray): Fix typo.

2000-04-27  Bryce McKinlay  <bryce@albatross.co.nz>

        * prims.cc (_Jv_NewObjectArray): Fix typo.

From-SVN: r33479
parent 9785c68d
2000-04-27 Bryce McKinlay <bryce@albatross.co.nz>
* prims.cc (_Jv_NewObjectArray): Fix typo.
2000-04-26 Tom Tromey <tromey@cygnus.com> 2000-04-26 Tom Tromey <tromey@cygnus.com>
* Makefile.in: Rebuilt. * Makefile.in: Rebuilt.
......
...@@ -377,7 +377,7 @@ _Jv_NewObjectArray (jsize count, jclass elementClass, jobject init) ...@@ -377,7 +377,7 @@ _Jv_NewObjectArray (jsize count, jclass elementClass, jobject init)
// Check for overflow. // Check for overflow.
if (__builtin_expect ((size_t) count > if (__builtin_expect ((size_t) count >
(SIZE_T_MAX - size) / sizeof (jobject), 0)); (SIZE_T_MAX - size) / sizeof (jobject), 0))
JvThrow (no_memory); JvThrow (no_memory);
size += count * sizeof (jobject); size += count * sizeof (jobject);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment