sim: erc32: fix signedness compatibility and redefinition warnings
4 files changed