summaryrefslogtreecommitdiff
path: root/src/systemc/ext
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/ext')
-rw-r--r--src/systemc/ext/core/sc_port.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/ext/core/sc_port.hh b/src/systemc/ext/core/sc_port.hh
index 2a454f3a0..99e7ace2d 100644
--- a/src/systemc/ext/core/sc_port.hh
+++ b/src/systemc/ext/core/sc_port.hh
@@ -230,7 +230,7 @@ class sc_port_b : public sc_port_base
{
IF *interface = dynamic_cast<IF *>(iface);
sc_assert(interface);
- for (int i = 0; i < _interfaces.size(); i++) {
+ for (unsigned i = 0; i < _interfaces.size(); i++) {
if (interface == _interfaces[i]) {
report_error(SC_ID_BIND_IF_TO_PORT_,
"interface already bound to port");