Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing u32 with iowrite8 in silly.c #81

Open
whfuyn opened this issue Feb 27, 2023 · 1 comment
Open

Writing u32 with iowrite8 in silly.c #81

whfuyn opened this issue Feb 27, 2023 · 1 comment

Comments

@whfuyn
Copy link

whfuyn commented Feb 27, 2023

Is it a bug to write u32 with iowrite8?

ldd3/misc-modules/silly.c

Lines 213 to 220 in bf49bb4

case M_32:
while (count >= 4) {
iowrite8(*(u32 *)ptr, add);
add += 4;
count -= 4;
ptr += 4;
}
break;

@ReAlUA
Copy link

ReAlUA commented Feb 27, 2023

Sure.
case M_16: has a bug too, should be iowrite16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants