Skip to content

Commit f669a30

Browse files
committed
hint ints
1 parent 9afe52b commit f669a30

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pdal/filters/PythonFilter.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ void PythonFilter::ready(PointTableRef table)
146146
PointViewSet PythonFilter::run(PointViewPtr view)
147147
{
148148
log()->get(LogLevel::Debug5) << "filters.python " << *m_script <<
149-
" processing " << view->size() << " points." << std::endl;
149+
" processing " << (int)view->size() << " points." << std::endl;
150+
150151
m_pythonMethod->execute(view, getMetadata());
151152

152153
PointViewSet viewSet;

pdal/plang/Script.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Script::Script( const std::string& source,
5353

5454
std::ostream& operator << (std::ostream& os, Script const& script)
5555
{
56-
os << "source=[" << strlen(script.source()) << " bytes], ";
56+
os << "source=[" << (int)strlen(script.source()) << " bytes], ";
5757
os << "module=" << script.module() << ", ";
5858
os << "function=" << script.function();
5959
os << std::endl;

0 commit comments

Comments
 (0)