Difference for common/image.c from version 1.11 to 1.12


version 1.11 version 1.12
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_image_c =   * static char *rcsid_image_c =
  *   "$Id: image.c,v 1.11 2005/03/19 09:14:56 mwedel Exp $";   *   "$Id: image.c,v 1.12 2005/08/12 13:46:34 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 284
 
Line 284
   
     nrofpixmaps++;      nrofpixmaps++;
   
     qsort (xbm, nrofbmaps, sizeof(struct bmappair), (int (*)())compar);      qsort (xbm, nrofbmaps, sizeof(struct bmappair), (int (*)(const void*, const void*))compar);
   
     ReadFaceData();      ReadFaceData();
   
Line 351
 
Line 351
   
     tmp.name = name;      tmp.name = name;
     bp = (struct bmappair *)bsearch       bp = (struct bmappair *)bsearch
  (&tmp, xbm, nroffiles, sizeof(struct bmappair), (int (*)())compar);   (&tmp, xbm, nroffiles, sizeof(struct bmappair), (int (*)(const void*, const void*))compar);
   
     return bp ? bp->number : error;      return bp ? bp->number : error;
 }  }
Line 426
 
Line 426
     fclose(fp);      fclose(fp);
   
     LOG(llevDebug,"done (got %d smooth entries)\n",nrofsmooth);      LOG(llevDebug,"done (got %d smooth entries)\n",nrofsmooth);
     qsort (smooth, nrofsmooth, sizeof(struct smoothing), (int (*)())compar_smooth);      qsort (smooth, nrofsmooth, sizeof(struct smoothing), (int (*)(const void*, const void*))compar_smooth);
     return nrofsmooth;      return nrofsmooth;
 }  }
   
Line 435
 
Line 435
   
     tmp.id = face;      tmp.id = face;
     bp = (struct smoothing *)bsearch       bp = (struct smoothing *)bsearch
         (&tmp, smooth, nrofsmooth, sizeof(struct smoothing), (int (*)())compar_smooth);          (&tmp, smooth, nrofsmooth, sizeof(struct smoothing), (int (*)(const void*, const void*))compar_smooth);
     (*smoothed)=0;      (*smoothed)=0;
     if (bp)      if (bp)
          (*smoothed)=bp->smooth;           (*smoothed)=bp->smooth;


Legend:
line(s) removed in v.1.11 
line(s) changed
 line(s) added in v.1.12

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:06