Skip to content

Commit

Permalink
Fix type compatability.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Aug 13, 2020
1 parent 0d8ebd2 commit 4defd5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion filters/LOFFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ std::string LOFFilter::getName() const

void LOFFilter::addArgs(ProgramArgs& args)
{
args.add("minpts", "Minimum number of points", m_minpts, 10);
args.add("minpts", "Minimum number of points", m_minpts, (size_t)10);
}

void LOFFilter::addDimensions(PointLayoutPtr layout)
Expand Down
2 changes: 1 addition & 1 deletion filters/LOFFilter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class PDAL_DLL LOFFilter : public Filter

private:
Dimension::Id m_kdist, m_lrd, m_lof;
int m_minpts;
size_t m_minpts;

virtual void addArgs(ProgramArgs& args);
virtual void addDimensions(PointLayoutPtr layout);
Expand Down

0 comments on commit 4defd5b

Please sign in to comment.