mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2025-01-03 16:35:28 +00:00
fix name collision in list
This commit is contained in:
parent
70e956abdf
commit
46b43356f9
|
@ -61,12 +61,12 @@ struct SoundIoList {
|
|||
return items[length - 1];
|
||||
}
|
||||
|
||||
int __attribute__((warn_unused_result)) resize(int length) {
|
||||
assert(length >= 0);
|
||||
int err = ensure_capacity(length);
|
||||
int __attribute__((warn_unused_result)) resize(int new_length) {
|
||||
assert(new_length >= 0);
|
||||
int err = ensure_capacity(new_length);
|
||||
if (err)
|
||||
return err;
|
||||
length = length;
|
||||
length = new_length;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue