Skip to content

Commit 1772ee0

Browse files
chent11Panquesito7
andauthored
fix: ARM GCC compiler error (TheAlgorithms#1952)
Co-authored-by: David Leal <halfpacho@gmail.com>
1 parent 1645cf2 commit 1772ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/reverse_a_linked_list.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ int32_t list::last() {
146146
* @brief Utility function to find the i th element of the list
147147
* @returns the i th element of the list
148148
*/
149-
int32_t list::traverse(int index) {
149+
int32_t list::traverse(int32_t index) {
150150
Node *current = head;
151151

152152
int count = 0;

0 commit comments

Comments
 (0)