summaryrefslogtreecommitdiff
path: root/math/physcalc/files/patch-physnode.c
blob: 0e2ca930789857e6a7b1a7a6c0cbd03bc35f045e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- physnode.c.orig	Sat Oct  7 21:33:27 2006
+++ physnode.c	Sat Oct  7 21:33:30 2006
@@ -305,12 +305,12 @@
 }
 
 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) */