mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
test: fix some errors in "compile C as C++"
This commit is contained in:
1 parent
e7df7cafac
commit
38205517d4
6 files changed
+73
-63
No files matched your search
@@ -215,7 +215,7 @@ test_wuffs_adler32_pi() {
|
||||
uint32_t have = wuffs_adler32__hasher__update_u32(
|
||||
&checksum, ((wuffs_base__slice_u8){
|
||||
.ptr = (uint8_t*)(digits),
|
||||
.len = i,
|
||||
.len = (size_t)(i),
|
||||
}));
|
||||
if (have != wants[i]) {
|
||||
RETURN_FAIL("i=%d: have 0x%08" PRIX32 ", want 0x%08" PRIX32, i, have,
|
||||
|
||||
Reference in new issue
Block a user