Fix to use void * for receiving return value of thread function
authorYugo Nagata <nagata@sraoss.co.jp>
Fri, 20 Feb 2015 05:27:41 +0000 (14:27 +0900)
committerYugo Nagata <nagata@sraoss.co.jp>
Fri, 20 Feb 2015 05:59:03 +0000 (14:59 +0900)
commita4736959ca631ec517d2bf36f90d43405268b2b7
tree793b380c9b213553fd39002c00cb07bf8ecc6da2
parent7f71bc9df5ebbf763e00c7643b7f7ba0d4daad72
Fix to use void * for receiving return value of thread function

Previously int was used and this could occur stack buffer overflow.
This caused an infinity loop of ping error at bringing up or down
VIP, since a loop variable in a for loop was overwritten to zero.
watchdog/wd_ping.c