Branch: Tag:

2014-04-27

2014-04-27 20:37:42 by Martin Nilsson <nilsson@opera.com>

mallocs nowdays return void*, so no need to case.

343: Inside #if defined(HAVE_MMAP)
   else    {   #endif -  fh = (struct file_head *)xalloc(size); +  fh = xalloc(size);   #ifdef FONT_DEBUG    fprintf(stderr,"FONT Malloced %p (%d)\n", fh, size);   #endif
532:       maxwidth2=1;    -  width_of=(int *)xalloc((args+1)*sizeof(int)); +  width_of=xalloc((args+1)*sizeof(int));    SET_ONERROR(err, free, width_of);       for (j=0; j<args; j++)