mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 00:38:14 +01:00
Fix -Wshadow warnings
This commit is contained in:
1 parent
f148f5c5b3
commit
f854646586
2 files changed
+2
-2
No files matched your search
@@ -252,7 +252,7 @@ HandleMetadata(
|
||||
}
|
||||
}
|
||||
|
||||
for (uint64_t num_to_copy = r.length(); num_to_copy > 0;) {
|
||||
while (true) {
|
||||
uint64_t n =
|
||||
wuffs_base__u64__min(num_to_copy, io_buf.reader_length());
|
||||
memcpy(raw.m_buf.writer_pointer(), io_buf.reader_pointer(), n);
|
||||
|
||||
@@ -40676,7 +40676,7 @@ HandleMetadata(
|
||||
}
|
||||
}
|
||||
|
||||
for (uint64_t num_to_copy = r.length(); num_to_copy > 0;) {
|
||||
while (true) {
|
||||
uint64_t n =
|
||||
wuffs_base__u64__min(num_to_copy, io_buf.reader_length());
|
||||
memcpy(raw.m_buf.writer_pointer(), io_buf.reader_pointer(), n);
|
||||
|
||||
Reference in new issue
Block a user