From ff66523bb076a246c2fc159f0f76947bd6f84fc1 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sat, 29 Oct 2022 12:55:08 -0700 Subject: Control register values should not be "unsigned int" --- io/model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io/model.cpp') diff --git a/io/model.cpp b/io/model.cpp index d6e36f9..4b37be4 100644 --- a/io/model.cpp +++ b/io/model.cpp @@ -6,7 +6,7 @@ #include "io/model.h" #include "isa/isa.h" -bool iomodel::interact(std::array &ctlregs) { +bool iomodel::interact(std::array &ctlregs) { auto [ebegin, eend] = log.equal_range(time); for (auto e = ebegin; e != eend; ++e) { auto &r = ctlregs[e->second.reg]; -- cgit v1.2.3