diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-11-05 14:02:41 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-11-05 14:02:41 -0500 |
commit | 4ba46f43cb3535f7b2eb29694f899c021400fabf (patch) | |
tree | 5d0343ee40127474224ccc7aa472db36dadacc1e /gcc/real.c | |
parent | e1fe312fe6511a895e2bd4dffee64c783e15ecff (diff) | |
download | gcc-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.c | 8 |
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 |