summaryrefslogtreecommitdiff
path: root/src/gf_w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gf_w32.c')
-rw-r--r--src/gf_w32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gf_w32.c b/src/gf_w32.c
index 8f7790c..0718ce5 100644
--- a/src/gf_w32.c
+++ b/src/gf_w32.c
@@ -1482,7 +1482,7 @@ gf_w32_split_16_32_lazy_multiply_region(gf_t *gf, void *src, void *dest, uint32_
p = (xor) ? *d32 : 0;
a = *s32;
i = 0;
- while (a != 0) {
+ while (a != 0 && i < 2) {
v = (a & 0xffff);
p ^= t[i][v];
a >>= 16;