OSDN Git Service

2000-04-27 Bryce McKinlay <bryce@albatross.co.nz>
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Apr 2000 11:47:13 +0000 (11:47 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Apr 2000 11:47:13 +0000 (11:47 +0000)
        * prims.cc (_Jv_NewObjectArray): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33479 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/prims.cc

index 9eaa81e..69c44f8 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 32e079b..c632c63 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);