Skip to content

Commit 70cc125

Browse files
committed
pdn: remove excess cast
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 15f5d9c commit 70cc125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pdn/src/connect.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,10 @@ int Connect::getMaxEnclosureFromCutLayer(odb::dbTechLayer* layer,
329329
if (box->getTechLayer() == layer) {
330330
use = true;
331331
cnt_vias += 1;
332-
max_via_size = std::max(max_via_size, static_cast<int>(rect.maxDXDY()));
332+
max_via_size = std::max(max_via_size, rect.maxDXDY());
333333
}
334334

335-
max_size = std::max(max_size, static_cast<int>(rect.maxDXDY()));
335+
max_size = std::max(max_size, rect.maxDXDY());
336336
}
337337

338338
if (use && cnt_vias == 1) {

0 commit comments

Comments
 (0)