Index: trunk/src_plugins/lib_compat_help/pstk_compat.c =================================================================== --- trunk/src_plugins/lib_compat_help/pstk_compat.c (revision 26655) +++ trunk/src_plugins/lib_compat_help/pstk_compat.c (revision 26656) @@ -389,10 +389,10 @@ /* all copper sizes must be the same, all mask sizes must be the same */ for(n = 0; n < tshp->len; n++) { - if ((tshp->shape[n].layer_mask & PCB_LYT_COPPER) && (fabs(old_dia[n] - old_dia[coppern]) > 10)) + if ((tshp->shape[n].layer_mask & PCB_LYT_COPPER) && (PCB_ABS(old_dia[n] - old_dia[coppern]) > 10)) return pcb_false; if (maskn >= 0) - if ((tshp->shape[n].layer_mask & PCB_LYT_MASK) && (fabs(old_dia[n] - old_dia[maskn]) > 10)) + if ((tshp->shape[n].layer_mask & PCB_LYT_MASK) && (PCB_ABS(old_dia[n] - old_dia[maskn]) > 10)) return pcb_false; }