mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix cast error in renode
For some reason renode is now complaining about a C# error where a (ulong) cannot be cast to a (uint) type without an explicit type cast. This fixes that error. Seems to work ok.
This commit is contained in:
parent
a4cdcd7fe6
commit
f36d0d8d03
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous.Betrusted
|
||||||
private void DefineRegisters()
|
private void DefineRegisters()
|
||||||
{
|
{
|
||||||
Registers.ADDRESS.Define(this)
|
Registers.ADDRESS.Define(this)
|
||||||
.WithValueField(0, 8, writeCallback: (_, value) => { this.address = value; }, valueProviderCallback: _ => { return this.address; })
|
.WithValueField(0, 8, writeCallback: (_, value) => { this.address = value; }, valueProviderCallback: _ => { return (uint) this.address; })
|
||||||
;
|
;
|
||||||
|
|
||||||
Registers.DATA.Define(this)
|
Registers.DATA.Define(this)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue