# | Line 9 | Line 9 | static const char RCSid[] = "$Id$"; | |
---|---|---|
9 | ||
10 | #include "copyright.h" | |
11 | ||
12 | + | #include <string.h> |
13 | + | |
14 | #include "platform.h" | |
15 | #include "ray.h" | |
16 | #include "otypes.h" | |
# | Line 562 | Line 564 | newambtree() /* allocate 8 ambient tree structs */ | |
564 | } | |
565 | atp = atfreelist; | |
566 | atfreelist = atp->kid; | |
567 | < | bzero((char *)atp, 8*sizeof(AMBTREE)); |
567 | > | memset((char *)atp, '\0', 8*sizeof(AMBTREE)); |
568 | return(atp); | |
569 | } | |
570 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |