From: Richard Kenner Date: Sat, 5 Nov 1994 19:02:41 +0000 (-0500) Subject: (GET_REAL, PUT_REAL): Cast args to bcopy to char *. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ba46f43cb3535f7b2eb29694f899c021400fabf;p=gcc.git (GET_REAL, PUT_REAL): Cast args to bcopy to char *. From-SVN: r8390 --- 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