~cern-kicad/kicad/kicad-pns-tom

« back to all changes in this revision

Viewing changes to pcbnew/globaleditpad.cpp

More int casts to rounding conversions

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
 
230
230
    // Search and copy the name of library reference.
231
231
    MODULE* Module_Ref = module;
232
 
    int pad_orient = aPad->GetOrientation() - Module_Ref->GetOrientation();
 
232
    double pad_orient = aPad->GetOrientation() - Module_Ref->GetOrientation();
233
233
 
234
234
    // Prepare an undo list:
235
235
    if( aSaveForUndo )