--- ray/src/hd/sm.c 2003/02/22 02:07:25 3.16 +++ ray/src/hd/sm.c 2003/06/20 00:25:49 3.18 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: sm.c,v 3.16 2003/02/22 02:07:25 greg Exp $"; +static const char RCSid[] = "$Id: sm.c,v 3.18 2003/06/20 00:25:49 greg Exp $"; #endif /* * sm.c @@ -257,7 +257,7 @@ int resize; #endif if (len > tempbuflen) { if (tempbuflen > 0) - tempbuf = realloc(tempbuf, len); + tempbuf = realloc((void *)tempbuf, len); else tempbuf = malloc(len); tempbuflen = tempbuf==NULL ? 0 : len; @@ -327,7 +327,7 @@ int max_verts,max_tris; goto memerr; for(i=0; i< T_FLAGS; i++) - if(!(SM_NTH_FLAGS(sm,i)=(int4 *)malloc(fbytes))) + if(!(SM_NTH_FLAGS(sm,i)=(int32 *)malloc(fbytes))) goto memerr; SM_MAX_VERTS(sm) = max_verts;