Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino IDE 1.6.9 reports a warning : converting 'false' to pointer type 'ListNode<MyObject*>*' [-Wconversion-null] #16

Closed
leseigneur opened this issue Nov 3, 2016 · 1 comment

Comments

@leseigneur
Copy link

MyObject being whatever I try to store.

I believe I have found the culprit and would like to propose a commit, but I have never done that on GitHub and don't even know if I'm allowed to contribute to this project.

Anyway, the proposed fix is :
file LinkedList.h, method template ListNode* LinkedList::getNode(int index)
line 160 :

- return false; 
+ return 0;

Shall someone take this in account or is there a way I can propose formally this change ?

@ivanseidel
Copy link
Owner

should be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants