summaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-11-05 19:02:41 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-11-05 19:02:41 +0000
commit6853a9e73106919759f2f156218cc46c081fe525 (patch)
tree5d0343ee40127474224ccc7aa472db36dadacc1e /gcc/real.c
parent099818a57ba0342e9db464c3dc7e69a14b5f181d (diff)
downloadgcc-6853a9e73106919759f2f156218cc46c081fe525.tar.gz
(GET_REAL, PUT_REAL): Cast args to bcopy to char *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8390 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/real.c b/gcc/real.c
index cad4343c7cf..f3e22a7cad4 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -246,15 +246,15 @@ unknown arithmetic type
#define NE 6
#define MAXDECEXP 4932
#define MINDECEXP -4956
-#define GET_REAL(r,e) bcopy (r, e, 2*NE)
-#define PUT_REAL(e,r) bcopy (e, r, 2*NE)
+#define GET_REAL(r,e) bcopy ((char *) r, (char *) e, 2*NE)
+#define PUT_REAL(e,r) bcopy ((char *) e, (char *) r, 2*NE)
#else /* no XFmode */
#if LONG_DOUBLE_TYPE_SIZE == 128
#define NE 10
#define MAXDECEXP 4932
#define MINDECEXP -4977
-#define GET_REAL(r,e) bcopy (r, e, 2*NE)
-#define PUT_REAL(e,r) bcopy (e, r, 2*NE)
+#define GET_REAL(r,e) bcopy ((char *) r, (char *) e, 2*NE)
+#define PUT_REAL(e,r) bcopy ((char *) e, (char *) r, 2*NE)
#else
#define NE 6
#define MAXDECEXP 4932