Y
Hacker News
new
|
ask
|
show
|
jobs
by
gpderetta
2235 days ago
and if you fix the void->int, the warning goes away.
1 comments
htfy96
2235 days ago
yeah that's why I changed int* to void* in the example, but I forgot to change new to malloc
link