mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2025-01-05 14:56:01 +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];
|
return items[length - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
int __attribute__((warn_unused_result)) resize(int length) {
|
int __attribute__((warn_unused_result)) resize(int new_length) {
|
||||||
assert(length >= 0);
|
assert(new_length >= 0);
|
||||||
int err = ensure_capacity(length);
|
int err = ensure_capacity(new_length);
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
length = length;
|
length = new_length;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue