summaryrefslogtreecommitdiff
path: root/math/physcalc/files/patch-physnode.c
blob: 3d4cf27dd5fe58fdf30b9cbb62b61b0d3690fc07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- physnode.c.orig	1998-08-29 14:17:12 UTC
+++ physnode.c
@@ -305,12 +305,12 @@ NODEP n;
 }
 
 EXPORT void bytecopy(dst, src, bytes)
-VOID *dst;
-VOID const *src;
+char *dst;
+char const *src;
 int bytes;
 {
 	while (bytes--)
-		*((char *)dst)++ = *((char const *)src)++;
+		*dst++ = *src++;
 }
 
 EXPORT NODEP copynode(n)	/* Create a duplicate of node n (including sub-nodes) */