]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
prims.cc (_Jv_NewObjectArray): Fix typo.
authorBryce McKinlay <bryce@albatross.co.nz>
Thu, 27 Apr 2000 11:47:13 +0000 (11:47 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Thu, 27 Apr 2000 11:47:13 +0000 (12:47 +0100)
2000-04-27  Bryce McKinlay  <bryce@albatross.co.nz>

        * prims.cc (_Jv_NewObjectArray): Fix typo.

From-SVN: r33479

libjava/ChangeLog
libjava/prims.cc

index 9eaa81ee318168855b509cd9c8030aa387324d55..69c44f8bed4dd9542b23c3b89410ca30d6032e9e 100644 (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.
index 32e079be690479e2f540347128eb2102658f7b33..c632c636814919f0a42781621dfc71c2f3aa9767 100644 (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);