# | Line 257 | Line 257 | int resize; | |
---|---|---|
257 | #endif | |
258 | if (len > tempbuflen) { | |
259 | if (tempbuflen > 0) | |
260 | < | tempbuf = realloc(tempbuf, len); |
260 | > | tempbuf = realloc((void *)tempbuf, len); |
261 | else | |
262 | tempbuf = malloc(len); | |
263 | tempbuflen = tempbuf==NULL ? 0 : len; | |
# | Line 327 | Line 327 | int max_verts,max_tris; | |
327 | goto memerr; | |
328 | ||
329 | for(i=0; i< T_FLAGS; i++) | |
330 | < | if(!(SM_NTH_FLAGS(sm,i)=(int4 *)malloc(fbytes))) |
330 | > | if(!(SM_NTH_FLAGS(sm,i)=(int32 *)malloc(fbytes))) |
331 | goto memerr; | |
332 | ||
333 | SM_MAX_VERTS(sm) = max_verts; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |