mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
[PR #909] [CLOSED] Update buffer parameter types in encode and decode functions #1482
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/909
Author: @admiyo
Created: 6/22/2021
Status: ❌ Closed
Base:
master← Head:func-types📝 Commits (1)
6d66b68Update buffer parameter types in encode and decode functions📊 Changes
2 files changed (+11 additions, -6 deletions)
View changed files
📝
c/dec/decode.c(+6 -3)📝
c/enc/encode.c(+5 -3)📄 Description
brotil is used in the TianoCore project as a a git submodule. Without this change, the compile fails on Fedora 34 with errors like
brotli/c/dec/decode.c:2033:41: error: argument 2 of type ‘const uint8_t ’ {aka ‘const unsigned char ’} declared as a pointer [-Werror=vla-parameter]
2033 | size_t encoded_size, const uint8_t encoded_buffer, size_t decoded_size,
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.