[riot-notifications] [RIOT] low hanging warnings fruits (#62)

Christian Mehlis notifications at github.com
Fri Aug 9 09:52:18 CEST 2013


I found one more:

thread.c:178:32: warning: passing 'void (*)(void)' to parameter of type 'void *' converts between void pointer and function
      pointer [-Wpedantic]
    cb->sp = thread_stack_init(function, stack, stacksize);
                               ^~~~~~~~
/home/c/git/RIOT-OS/projects/test_sha256/../../RIOT/core/include/kernel_internal.h:32:32: note: passing argument to
      parameter 'task_func' here
char *thread_stack_init(void  *task_func, void *stack_start, int stack_size);
                               ^
1 warning generated.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/62#issuecomment-22380148
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20130809/59ecf77d/attachment.html>


More information about the notifications mailing list