mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Fix the adler.update implementation.
This commit is contained in:
1 parent
d770bf7534
commit
f9cea5c17c
8 files changed
+186
-40
No files matched your search
+1
-1
@@ -2440,7 +2440,7 @@ uint32_t puffs_flate_adler_update(puffs_flate_adler* self,
|
||||
}
|
||||
v_i = 0;
|
||||
while (v_i < ((uint64_t)(a_x.len))) {
|
||||
v_s1 += 42;
|
||||
v_s1 += ((uint32_t)(a_x.ptr[v_i]));
|
||||
v_s2 += v_s1;
|
||||
v_i += 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user