mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-25 04:40:18 +00:00
Don't pass by reference
This commit is contained in:
@@ -55,7 +55,7 @@ char *patch_verity(const void *buf, uint32_t &size, bool inplace) {
|
||||
return patched;
|
||||
}
|
||||
|
||||
void patch_encryption(void *&buf, uint32_t &size) {
|
||||
void patch_encryption(void *buf, uint32_t &size) {
|
||||
auto src = static_cast<char *>(buf);
|
||||
int src_size = size;
|
||||
int write = 0;
|
||||
|
||||
Reference in New Issue
Block a user