Update mapper_009.cc

This commit is contained in:
MrKOSMOS 2021-12-02 20:46:53 +00:00 committed by GitHub
parent 99ae2a99fa
commit 1d903e2615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ Mirroring::Type Mapper_009::mirroring() const {
}
void Mapper_009::reset() {
memset(&this->reg, 0, sizeof this->reg);
memset((char*)&this->reg, 0, sizeof this->reg);
this->reg.latch[0] = 1;
this->reg.latch[1] = 1;
}