summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-27 11:47:13 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-27 11:47:13 +0000
commitc341751a4b41636ba47784fbfe288d815a2b10f3 (patch)
treeb6245b895c1706035de27efbbc9a917dbce01128 /libjava
parent6091ea3c31421eaa571cb25b54e0ab330da9cc8b (diff)
downloadgcc-c341751a4b41636ba47784fbfe288d815a2b10f3.tar.gz
2000-04-27 Bryce McKinlay <bryce@albatross.co.nz>
* prims.cc (_Jv_NewObjectArray): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33479 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog4
-rw-r--r--libjava/prims.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 9eaa81ee318..69c44f8bed4 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -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.
diff --git a/libjava/prims.cc b/libjava/prims.cc
index 32e079be690..c632c636814 100644
--- a/libjava/prims.cc
+++ b/libjava/prims.cc
@@ -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);