Hacker News new | ask | show | jobs
by gpderetta 2235 days ago
and if you fix the void->int, the warning goes away.
1 comments

yeah that's why I changed int* to void* in the example, but I forgot to change new to malloc