aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <[email protected]>2021-09-25 13:28:13 -0700
committerQuentin Carbonneaux <[email protected]>2021-10-11 10:13:27 +0200
commit8401139089ad8dfd1c8478e14a0cbf04572c42ce (patch)
tree952f3d1051ae73bd1b283c139e801ad54ca1e5a6
parentae23a3223f8f91aad898b73242ee9ec29ffabb11 (diff)
util: fix typo preventing 4-byte copy in blit()
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index a28176d..9a3576a 100644
--- a/util.c
+++ b/util.c
@@ -384,7 +384,7 @@ blit(Ref rdst, uint doff, Ref rsrc, uint sz, Fn *fn)
{
struct { int st, ld, cls, size; } *p, tbl[] = {
{ Ostorel, Oload, Kl, 8 },
- { Ostorew, Oload, Kw, 8 },
+ { Ostorew, Oload, Kw, 4 },
{ Ostoreh, Oloaduh, Kw, 2 },
{ Ostoreb, Oloadub, Kw, 1 }
};