Skip to content

Commit

Permalink
Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Noremos committed Dec 6, 2024
1 parent 1c734cb commit 0f02523
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PrjBarlib/include/barclasses.h
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ MEXP namespace bc
// only for uchar
bp::list calcHistByPointsSize(/*Barscalar maxLen*/)
{
int rm = 0;
size_t rm = 0;
for (size_t i = 0; i < barlines.size(); i++)
{
int rf = barlines[i]->getPointsSize();
Expand Down
2 changes: 1 addition & 1 deletion PrjBarlib/include/barcodeCreator.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ namespace bc {
public:
barstruct settings;
bool skipAddPointsToParent = false;
int sameStart = 0;
size_t sameStart = 0;

private:
Include* included = nullptr;
Expand Down
2 changes: 1 addition & 1 deletion PrjBarlib/source/component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ void bc::Component::merge(bc::Component* dummy)
#endif // POINTS_ARE_AVAILABLE


assert(dummy->resline->id == -1);
assert(dummy->resline->id == static_cast<uint>(-1));
delete dummy->resline;
dummy->resline = nullptr;
}
Expand Down

0 comments on commit 0f02523

Please sign in to comment.