summaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-11-05 14:02:41 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-11-05 14:02:41 -0500
commit4ba46f43cb3535f7b2eb29694f899c021400fabf (patch)
tree5d0343ee40127474224ccc7aa472db36dadacc1e /gcc/real.c
parente1fe312fe6511a895e2bd4dffee64c783e15ecff (diff)
downloadgcc-4ba46f43cb3535f7b2eb29694f899c021400fabf.tar.gz
(GET_REAL, PUT_REAL): Cast args to bcopy to char *.
From-SVN: r8390
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