diff --git a/kernel/rtlil.h b/kernel/rtlil.h index f53d9df8c..ef33ab2d7 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -308,7 +308,7 @@ namespace RTLIL bool operator!=(const char *rhs) const { return strcmp(c_str(), rhs) != 0; } char operator[](size_t i) const { - const char *p = c_str(); + const char *p = c_str(); #ifndef NDEBUG for (; i != 0; i--, p++) log_assert(*p != 0);