mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Rename buf1's cap to len.
This commit is contained in:
1 parent
e49ec3fd90
commit
45cecca79a
6 files changed
+15
-15
No files matched your search
+2
-2
@@ -23,8 +23,8 @@ uint8_t global_dst_buffer[BUFFER_SIZE];
|
||||
uint8_t global_src_buffer[BUFFER_SIZE];
|
||||
|
||||
void test_lzw_decode() {
|
||||
puffs_base_buf1 dst = {.ptr = global_dst_buffer, .cap = BUFFER_SIZE};
|
||||
puffs_base_buf1 src = {.ptr = global_src_buffer, .cap = BUFFER_SIZE};
|
||||
puffs_base_buf1 dst = {.ptr = global_dst_buffer, .len = BUFFER_SIZE};
|
||||
puffs_base_buf1 src = {.ptr = global_src_buffer, .len = BUFFER_SIZE};
|
||||
if (!read_file(&src, "../../testdata/bricks-nodither.giflzw")) {
|
||||
goto cleanup0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user