From: Yunsup Lee Date: Wed, 16 Oct 2013 21:26:59 +0000 (-0700) Subject: use uint32_t for vl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38c39525ac0373b459a5d7dfd4c707affaed7efe;p=riscv-isa-sim.git use uint32_t for vl --- diff --git a/hwacha/hwacha.cc b/hwacha/hwacha.cc index 8eff59c..61282d3 100644 --- a/hwacha/hwacha.cc +++ b/hwacha/hwacha.cc @@ -37,7 +37,7 @@ std::vector hwacha_t::get_instructions() bool hwacha_t::vf_active() { - for (int i=0; ivl; i++) { + for (uint32_t i=0; ivl; i++) { if (get_ut_state(i)->run) return true; }