hope it's ok
thanks
john
--
"Euler's equation contains the five most important numbers in mathematics."
Index: src/mathed/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/ChangeLog,v
retrieving revision 1.85
diff -u -r1.85 ChangeLog
--- src/mathed/ChangeLog 2001/06/25 00:06:23 1.85
+++ src/mathed/ChangeLog 2001/06/25 01:04:29
@@ -1,3 +1,7 @@
+2001-06-25 John Levon <[EMAIL PROTECTED]>
+
+ * array.c (MathArray::GetInset): fix compilation with gcc 3.0
+
2001-06-24 The LyX Project <Asger>
* math_inset.C: Cursor movement is better in square roots, among
Index: src/mathed/array.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/array.C,v
retrieving revision 1.23
diff -u -r1.23 array.C
--- src/mathed/array.C 2001/06/25 00:06:30 1.23
+++ src/mathed/array.C 2001/06/25 01:04:29
@@ -96,7 +96,7 @@
if (!isInset(pos))
return 0;
MathInset * p;
- memcpy(&p, bf_.begin() + pos + 1, sizeof(p));
+ memcpy(&p, &bf_[pos + 1], sizeof(p));
return p;
}