Cast of memcpy arg to suppress warning message.

This commit is contained in:
Marty Kraimer
1994-09-02 13:40:55 +00:00
parent be255e42e2
commit f063feb3cb
2 changed files with 2 additions and 2 deletions

View File

@@ -366,7 +366,7 @@ short *perror;
if ( sscanf(ppostfix,"%lg",&constant) != 1) {
*ppostfix = '\0';
} else {
memcpy(ppostfix,&constant,8);
memcpy(ppostfix,(void *)&constant,8);
}
ppostfix+=8;

View File

@@ -366,7 +366,7 @@ short *perror;
if ( sscanf(ppostfix,"%lg",&constant) != 1) {
*ppostfix = '\0';
} else {
memcpy(ppostfix,&constant,8);
memcpy(ppostfix,(void *)&constant,8);
}
ppostfix+=8;