ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/warp3d.c
(Generate patch)

Comparing ray/src/px/warp3d.c (file contents):
Revision 3.5 by greg, Sat Feb 22 02:07:28 2003 UTC vs.
Revision 3.6 by greg, Wed Apr 23 00:52:34 2003 UTC

# Line 284 | Line 284 | W3VEC  pti, pto;
284                  W3VCPY(wp->ulim, pti);
285          } else {
286                  if (wp->npts % AHUNK == 0) {    /* allocate another hunk */
287 <                        na = (W3VEC *)realloc((char *)wp->ip,
287 >                        na = (W3VEC *)realloc((void *)wp->ip,
288                                          (wp->npts+AHUNK)*sizeof(W3VEC));
289                          if (na == NULL) return(0);
290                          wp->ip = na;
291 <                        na = (W3VEC *)realloc((char *)wp->ov,
291 >                        na = (W3VEC *)realloc((void *)wp->ov,
292                                          (wp->npts+AHUNK)*sizeof(W3VEC));
293                          if (na == NULL) return(0);
294                          wp->ov = na;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines