summaryrefslogtreecommitdiff
path: root/graphics/rayshade/patches/patch-aj
blob: 985e299f7e914e948aca411849aeaabb57ab0706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aj,v 1.1 2008/09/01 06:57:58 dholland Exp $

--- libray/libtext/noise.c~	1992-02-09 22:04:06.000000000 -0500
+++ libray/libtext/noise.c	2008-09-01 02:11:06.000000000 -0400
@@ -121,7 +121,7 @@ Vector *v;
 	v->y *= .12345;
 	v->z *= .12345;
 
-	return Crc16(v, sizeof(Vector));
+	return Crc16((char *)v, sizeof(Vector));
 }
 
 /*