From 3a718385cf0f879a5208209fc20bafb0046f50ea Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Thu, 18 Aug 2022 22:22:04 -0400 Subject: [PATCH] Just match the type to the comparison type on second thought --- pcbnew/drc/drc_test_provider_connection_width.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/drc/drc_test_provider_connection_width.cpp b/pcbnew/drc/drc_test_provider_connection_width.cpp index 332ea8e1f7..487d7a5639 100644 --- a/pcbnew/drc/drc_test_provider_connection_width.cpp +++ b/pcbnew/drc/drc_test_provider_connection_width.cpp @@ -478,7 +478,7 @@ private: // first look for points in increasing z-order Vertex* p = aPt->nextZ; - int64_t min_dist = std::numeric_limits::max(); + SEG::ecoord min_dist = std::numeric_limits::max(); Vertex* retval = nullptr; while( p && p->z <= maxZ )