Fix a few compiler warnings.
This commit is contained in:
parent
363f5c1ab8
commit
291e16e549
@ -750,8 +750,10 @@ const char *DxfFileWriter::lineTypeName(StipplePattern stippleType) {
|
|||||||
case StipplePattern::FREEHAND:
|
case StipplePattern::FREEHAND:
|
||||||
case StipplePattern::ZIGZAG:
|
case StipplePattern::ZIGZAG:
|
||||||
/* no corresponding DXF line type */
|
/* no corresponding DXF line type */
|
||||||
return "CONTINUOUS";
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return "CONTINUOUS";
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@ -303,7 +303,8 @@ Canvas::Stroke Style::Stroke(hStyle hs) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Canvas::Stroke Style::Stroke(int hsv) {
|
Canvas::Stroke Style::Stroke(int hsv) {
|
||||||
return Style::Stroke(hStyle{hsv});
|
hStyle hs = { (uint32_t) hsv };
|
||||||
|
return Style::Stroke(hs);
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user