mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Rename work_buffer_size to workbuf_len
This commit is contained in:
1 parent
ca940b0c56
commit
fbbdc412d1
8 files changed
+95
-104
No files matched your search
@@ -252,8 +252,7 @@ const char* allocate(wuffs_base__image_config* ic) {
|
||||
return "could not allocate image buffer";
|
||||
}
|
||||
|
||||
uint64_t work_len_u64 =
|
||||
wuffs_base__image_config__work_buffer_size(ic).max_incl;
|
||||
uint64_t work_len_u64 = wuffs_base__image_config__workbuf_len(ic).max_incl;
|
||||
if (work_len_u64 <= SIZE_MAX) {
|
||||
work_buffer = malloc(work_len_u64);
|
||||
work_len = work_len_u64;
|
||||
|
||||
Reference in new issue
Block a user