prims.cc (_Jv_NewObjectArray): Fix typo.

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

        * prims.cc (_Jv_NewObjectArray): Fix typo.

From-SVN: r33479
This commit is contained in:
Bryce McKinlay 2000-04-27 11:47:13 +00:00 committed by Bryce McKinlay
parent 9785c68dd5
commit af4464eb46
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-04-27 Bryce McKinlay <bryce@albatross.co.nz>
* prims.cc (_Jv_NewObjectArray): Fix typo.
2000-04-26 Tom Tromey <tromey@cygnus.com>
* Makefile.in: Rebuilt.

View File

@ -377,7 +377,7 @@ _Jv_NewObjectArray (jsize count, jclass elementClass, jobject init)
// Check for overflow.
if (__builtin_expect ((size_t) count >
(SIZE_T_MAX - size) / sizeof (jobject), 0));
(SIZE_T_MAX - size) / sizeof (jobject), 0))
JvThrow (no_memory);
size += count * sizeof (jobject);