fix: ARM GCC compiler error (#1952)

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Chen Tao
2022-09-28 02:24:33 +09:00
committed by GitHub
parent 1645cf281f
commit 1772ee06cc

View File

@@ -146,7 +146,7 @@ int32_t list::last() {
* @brief Utility function to find the i th element of the list
* @returns the i th element of the list
*/
int32_t list::traverse(int index) {
int32_t list::traverse(int32_t index) {
Node *current = head;
int count = 0;