Index: src/search.c =================================================================== --- src/search.c (revision 316) +++ src/search.c (revision 317) @@ -901,9 +901,13 @@ { double r, Sin, Cos; Coord x; + + /* Also used from line_callback with line type smaller than pad type; + use the smallest common subset; ->Thickness is still ok. */ Coord t2 = (Pad->Thickness + 1) / 2, range; - PadType pad = *Pad; + AnyLineObjectType pad = *(AnyLineObjectType *)Pad; + /* series of transforms saving range */ /* move Point1 to the origin */ X -= pad.Point1.X;