summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index 2bf77c2..2ddf21c 100644
--- a/util.c
+++ b/util.c
@@ -65,9 +65,9 @@ modulapt3(Point3 a, Point3 b)
}
void
-memsetd(void *dp, double v, usize len)
+memsetf(void *dp, float v, usize len)
{
- double *p, *ep;
+ float *p, *ep;
for(p = dp, ep = p+len; p < ep; p++)
*p = v;